vimeo / player.js

Interact with and control an embedded Vimeo Player.
https://player.vimeo.com/api/demo
MIT License
1.44k stars 262 forks source link

Ended Video Event #480

Closed PragnaBrahmbhatt closed 4 years ago

PragnaBrahmbhatt commented 5 years ago

When the video ends that time first ended event call and then pause event call that is the ISSUE.

I put the iframe in my code, and I display the replay icon when the video ends. Here what happen is when video end then it override the code of ended event with pause event. Check below 3 points.

1) When video ends that time PAUSE event call. 2) then ENDED event call. 3) then AGAIN PAUSE event call.

So the replay icon not show and the play icon display as I had display the play icon on pause event.

Please give some solution.

Thanks in advance. :)

fisherinnovation commented 5 years ago

@PragnaBrahmbhatt Would you be able to provide an example of your issue in JSFiddle or some other online editor?

carlos-cne commented 5 years ago

I'm with the same issue, but in my case, ended event does not fire. In my case, I use stream live videos.

luwes commented 4 years ago

@PragnaBrahmbhatt did you figure out a solution?

on the api demo page I couldn't reproduce

https://player.vimeo.com/api/demo

Screen Shot 2020-02-06 at 12 30 18 PM