You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're trying to start the player with a tech that requires manual timeupdate events as soon as the tech is ready, the initial play event will be missed and timeupdate events will not fire. For instance:
// this callback will be invoked *before* the handlers for manualtimeupdates are // registeredplayer.ready(function(){player.play();});// playback begins but anything that relies on timeupdates is broken
I'd suggest moving the triggerReady() invocation below the registration of manual progress and timeupdate listeners.
The text was updated successfully, but these errors were encountered:
Migrate the timers that manage creating timeupdate and progress events when the tech doesn't support them natively. Now, techs that extend MediaTechController will continue to automatically pick up synthetic playback and buffering events but they're scoped much more closely to the entity that needs them. In addition, time and progress tracking have been moved much earlier into the component initialization which fixesvideojs#1414.
If you're trying to start the player with a tech that requires manual timeupdate events as soon as the tech is ready, the initial
play
event will be missed andtimeupdate
events will not fire. For instance:I'd suggest moving the triggerReady() invocation below the registration of manual progress and timeupdate listeners.
The text was updated successfully, but these errors were encountered: