addTrackEvent needs to run timeUpdate immediately even if media is paused
If a track event is added while
currentTime is in
the middle of that track's time range,
start needs to
run immediately, even if the media is paused.
This is related to #641 and depends on that issue being fixed to
allow Popcorn events to update without changing
Comments and changes to this ticket
Do not assume that fixing #641 and #708 will solve this issue. Even if
currentTime === previousTime, we still need to make sure
timeUpdategets called. If the video is paused, and Popcorn is not created with the
timeUpdatewill only run on a "timeupdate" media event, which will never happen if the media is paused.
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.