Closed yukulele closed 11 years ago
Maybe you should take a look at http://popcornjs.org/ And the demo: http://jplayer.org/2.2.0/demo-09-popcorn-video/
Popcorn.js uses the timeupdate event to execute. We have considered adding a cue method, but it would be tied to the timeupdate event.
The only way I see to do it "more precise" would be to use a timeout... Which is not precise and has other problems... Like timeouts on iOS seem to get ignored if you are scrolling the screen when they happen. Other browsers will queue them up if the window is not in focus and so on.
i would like to trigger an event at a precise time, of course I can use timeupdate event, but it's only trigger on every 0.25s.
if would be nice to add a onTime function with time option. exemple: