Wait until the player is ready to set the source. Capture the target time during seeks.
Opening the media source before the player is fully initialized would result in loadstart happening too early and the big play button getting stuck over the player. The video element should report the desired currentTime while a seek is pending, so store this value when currentTime is set and return it until a seek completes successfully.
Showing
2 changed files
with
32 additions
and
13 deletions
-
Please register or sign in to post a comment