Ended event is not fired for our video
See original GitHub issueHello there!
Thank you for this new API, it looks much better than Froogaloop.
However, we have some issues with ended / finished event. It’s not called for our video. But, if we use some other public video from Vimeo it works OK. Maybe there is some issue with privacy or embed settings? It was working some time ago and was broken recently. We are experiencing this problem for both API versions of Vimeo.
For now I have to use:
timeupdate: function (event) {
if (event.percent >= 0.95) {
// Video finished...
}
}
Also, the last called timeupdate event has percentage around 0.99, it’s never called with 1.0, maybe it’s somehow related to ended problem.
Thank you!
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:43 (9 by maintainers)
Top Results From Across the Web
html5 video "ended" event not working in chrome and IE
Once I removed the loop attribute, the "ended" event fired in both browsers. HTML (with loop attribute, which will prevent the 'ended' event...
Read more >HTMLMediaElement: ended event - Web APIs | MDN
The ended event is fired when playback or streaming has stopped because the end of the media was reached or because no further...
Read more >"ended" Event not firing in Safari - Google Groups
to jPlayer: HTML5 Audio & Video for jQuery. I'm having a weird issue with the "ended" event not firing in safari, but only...
Read more >video 'ended' event seems broken with latest release of chrome
It seems that setting up the callback with the .onended property fails, while using addEventListener works. // does not fire: player.onended = ...
Read more >HTML5 audio video ended event not working for me - MSDN
I am trying to do something in javascript as soon as an mp3 or mp4 file reaches the end of a single play....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Same issue here. And it’s been YEARS. We also pay for a premium Vimeo account, and I’m mind blown that you guys can’t solve something like this with this much time. “seeked” and “timeupdate” not firing or firing RANDOMLY at times… I can’t deliver a product where the UI depends on timeupdates and seeked events with it only working SOME of the time.
Will this even be addressed?
Ok, I should have looked first, but found this issue that solves this problem by removing the api=1 from the API call. Maybe this is something I had from the previous Froogaloop implementation.