-
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 videos not working: Missing "progressive" #182
Comments
Yeah, all video are broken |
Hey did you find any solution? |
The code below works in a tester app. But when I try to run it in my main app, it starts playing and then crashes. I contacted Vimeo support regarding the issue, but they haven't been very helpful. The problem seems to be that the progressive key and data are missing and only HLS and DASH are available. I don't know how to repackage it either.
|
response from Vimeo: Hello, Thank you for your inquiry. I can see you are using the player/config URL https://player.vimeo.com/video/{video_id}/config to retrieve the Video's metadata. The player/config URL is not the correct way to retrieve a video's Metadata or Video links. This was an unpublished url and was only designed for the player's internal backend and was never published for public use. This internal player URL is also no longer being maintained and has been deprecated I believe for at least the last 2-3 years. Instead, you should use the videos API endpoint as shown in our documentation. This will return a Videos complete metadata information. Please see https://developer.vimeo.com/api/reference/videos#get_video on how to use the endpoint along with https://developer.vimeo.com/api/reference/response/video which will show you all available responses and definitions. |
Hey, Thanks for reaching out to Vimeo and finding a solution, The API they mentioned: (https://developer.vimeo.com/api/reference/videos#get_video ) GET Request: Response: {
"error": "Something strange occurred. Please get in touch with the app's creator.",
"link": null,
"developer_message": "The app didn't receive the user's credentials.",
"error_code": 8003
} |
Let us know when the VIMEO API ERROR gets resolved. |
Thx guys, I had the same problem |
fixed this issue in |
I can not update the dependency because my app is old can you tell me any work around? |
@AhsanFarooq0017 You could clone the compatible version and apply the fix locally. |
I needed to upgrade a lot of packages but now it works fine. Thx a lot |
can you please share the complete solution? |
Please do not use the /config URL here, this is an internal API that changes without notice, so this library will break again in the future, and access to this URL will likely be disallowed in the future. Vimeo has a REST API that should be used, and has all of the data you need https://developer.vimeo.com/api/guides/start |
I have updated the plugin with out an error but after updating to 0.2.2 video sound is not coming this happens when we use vemio id with the hash |
How do you return a player that does not need auth and does not expire? |
You don't, this is intentional. You should use the REST API to get video links, which requires registering an app on https://developer.vimeo.com. Your users can register an app on https://developer.vimeo.com and configure this player with their access token. There are many different access tokens you can use, you can generate a "public" access key that doesn't have write permission, but we still require authentication for rate limiting purposes. Details of different types of access tokens are available here: https://developer.vimeo.com/api/guides/start#generate-access-token If you don't wish to use the REST API, there is an OEmbed API that doesn't require authentication, https://developer.vimeo.com/api/oembed. This is only available for the Vimeo Player, not direct video links, so you'd need to embed an iFrame to support this. Fully anonymous access to direct video files is not supported. The config URL you're currently using is an internal API that will change without notice, and will not be permanently available. |
I cam across this and had to add the header with token. I searched for a couple of days and I think something changed on Vimeos side. header = { |
I had this issue with the /config API and once I moved to the official token API the progressive issue was resolved. |
How are you playing the videos? |
I'm using https://pub.dev/packages/pod_player in my Flutter app. |
@AAber Yeah me too, but playing the video using the id and the hash does not work anymore, therefore I asked. I couldn't find any API-endpoint, where I can pass the hash of the video. |
Use this snip to play the URL you get from the API:
|
I'am facing another error here in vimeo with the access token,
|
===== VIMEO API ERROR: type 'Null' is not a subtype of type 'List<dynamic>' in type cast ==========
I am not sure what the problem is here, but it stopped at 130pm yesterday suddenly.
The text was updated successfully, but these errors were encountered: