-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vimeo API Error #212
Comments
I'm having the same problem |
flutter: ===== VIMEO API ERROR: FormatException: Unexpected character (at character 1) |
try {
|
I have had the same problem for several days |
see #182 , seems like vimeo closed unofficial /config endpoint for fetching video links |
still same got the error |
yes the video id is available on vimeo |
I'm also facing the same issue. I played private videos until last Monday. Now it doesn't work for either private or public Vimeo videos... pod_player: 0.2.2 |
I'm having the same issue recently. the @anantnimbalkar solution is not working for me either. |
Does anyone found any solution for this issue? |
First you need a personal access token, which you can generate in your app settings. Then fetch the video information using this request:
You can then initialise the PodPlayer like this: controller = PodPlayerController(
playVideoFrom: PlayVideoFrom.networkQualityUrls(
videoUrls: [
VideoQalityUrls(quality: 360, url: '<the link for 360p>),
],
),
)..initialise() |
Video links generated this way are only valid for 24 hours, so we would need to add requests to retrieve video links inside the app. |
I am fetching videos in this function: // Construct the API request URL // Set the headers, including the access token // Send the HTTP GET request // Check if the request was successful |
@benja8151 Would you suggest any other/better solution? |
No, at a glance I think this solution should work, but you need to fetch video links (your curl request) on demand inside the app, parse response and add them to |
Why I am just getting status and not other things in API response. ? Any help would be appreciated. |
@JAYTARPARA It can depend on the scope of your token. You can also remove the header "field=play" and see how the complete response looks like. And dude do not share your access token here :) |
What should be the scope? Can you please let me know. I have removed the screenshot. |
It depends on your needs. For example, I have these: |
hi @JAYTARPARA hi done the same thing but it doesn't working can any tell me correct solution of it |
@hgndgn It doesn't work with the same settings. There is no video link in the response returned. |
@mfurkanyuceal My videos are "Unlisted". Maybe therefore it works for me, I could check it later. |
I set it the same way but it didn't work. Could your Vimeo pricing plan be different? |
@mfurkanyuceal Yes it could be. I have a "Pro Plan". |
Thank you. If the payment plan is a plus, we can say that it does not work. |
@hgndgn Thanks for the solution. When I join the Pro payment plan, I can get the links of the videos using the vimeo API. I have no problems with Android. However, I encountered the "Error while playing video" error on iOS. Do you have any relevant experience with this error?
|
this is happening to me when Unlisted URL's apart from my Vimeo account. For My account's Unlisted videos getting all Progressive,hls & dash sections |
podPlayerController = PodPlayerController(
|
you have to get personal access token from your vimeo developer console to get streaming data according to above discussion. |
I have to found this error, so how to resolved : Initialization error: Exception: videoQuality cannot be empty |
Has anyone found a solution for this Vimeo player issue? |
I have the same issue, how can there's no solution to play vimeo videos in flutter... |
There is a problem with Vimeo videos. Videos cannot be played.
Flutter 3.22.2
Dart 3.4.3
pod_player: ^0.2.2
The text was updated successfully, but these errors were encountered: