vimeo_video_player icon indicating copy to clipboard operation
vimeo_video_player copied to clipboard

Error - [null] Dio Error :

Open ranmitch99 opened this issue 1 year ago • 8 comments

We have used the vimeo_video_player package for some time in our app. Recently more and more Vimeo videos have stopped working. We updated to the lastest version of the package, still this error. As a debugging step we built the most basic of apps to play Vimeo video this error continues. Any suggestions?

ranmitch99 avatar Jun 26 '24 20:06 ranmitch99

Hi @ranmitch99, Have you tried with the latest version 0.0.16?

jaydeepkaria-mi avatar Jun 27 '24 04:06 jaydeepkaria-mi

Yes ... we are using 0.0.16 ... I have noticed in my debugging that we are sending this URL - https://vimeo.com/537511048 to the code but this is being sent by the package - https://player.vimeo.com/video/537511048/config. The error that results is a 403. This happens no matter the URL we send. All Vimeo links are stored in this format https://vimeo.com/537511048

ranmitch99 avatar Jun 27 '24 13:06 ranmitch99

Same problem

mfurkanyuceal avatar Jun 27 '24 20:06 mfurkanyuceal

Screenshot 2024-07-02 at 22 53 58

Seems like the /config endpoint is having issues. We have the same problem as well.

maplepam avatar Jul 02 '24 14:07 maplepam

Currently, the config API is not working for all the videos as earlier. Public video links are working but not private. Will need to look around this.

jaydeepkaria-mi avatar Jul 03 '24 04:07 jaydeepkaria-mi

Is there not a solution for what seems to be a change in the way Vimeo is doing things? It looks like the /config endpoint is no longer valid. Does anyone have a suggestion on a different widget to use to play public and embeddable Vimeo content?

ranmitch99 avatar Jul 19 '24 14:07 ranmitch99

Same problem!

lrferreiro avatar Aug 03 '24 06:08 lrferreiro

I have reviewed the Vimeo API documentation and noticed some changes in the API endpoints. You can use the following dependency as a temporary solution, but please note a few conditions I encountered during testing:

  • The video IDs used in the URL must support multiple qualities (SD, HD, 720, etc.).

  • You need to generate a token from the Vimeo Developer portal and include it in the VimeoVideoPlayer(...) initialization.

dependencies: vimeo_video_player: git: url: https://github.com/IdirBelmokhtar/vimeo_video_player

IdirBelmokhtar avatar Oct 06 '24 20:10 IdirBelmokhtar

I have reviewed the Vimeo API documentation and noticed some changes in the API endpoints. You can use the following dependency as a temporary solution, but please note a few conditions I encountered during testing:

* The video IDs used in the URL must support multiple qualities (SD, HD, 720, etc.).

* You need to generate a token from the Vimeo Developer portal and include it in the VimeoVideoPlayer(...) initialization.

dependencies: vimeo_video_player: git: url: https://github.com/IdirBelmokhtar/vimeo_video_player

i made a fork of this repository and open a pull request with some fix

edilson14 avatar Nov 22 '24 18:11 edilson14

The library now uses an InAppWebView to play Vimeo videos, as the public config endpoint of vimeo has been deprecated and is no longer in use.

@ranmitch99 Please check this with the latest version. Thanks.

mohit-chauhan-mi avatar Dec 12 '24 09:12 mohit-chauhan-mi