Cue point not triggered when playing fast-forward
When fast-forwarding a video using playbackRate, cue points are
sometimes not triggered. The behaviour seems to be random. See this
http://jsfiddle.net/waCK4/ (try running it several times).
Comments and changes to this ticket
Confirmed. Increased playbackRate seems create scenarios where timeupdate isn't dispatched for whole seconds in the video ie. the media might jump from 1s to 3s between two seperate timeupdate events.
frameAnimation: trueoption avoids this
I was talking about issues with cue recently as well.
I think we need a finer grain of control specific to cue.
We may need to have a 0 duration cue, so it is not a range, just a start, no end.
If the an update time is >= to the time, and previously was <, and we're playing, we have a valid cue to fire.
The "is playing" part is key, or you'll fire them on seeks too.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.
Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.