iPhone: Setting currentTime
before playing the video breaks timeupdate
events
#9018
Labels
needs: triage
This issue needs to be reviewed
Description
On iPhones, setting the start time (using
currentTime(...)
) before the video is played breaks thetimeupdate
events.After this and the video is playing, further attempts to call
currentTime(...)
lead to erratic behaviour, where sometimestimeupdate
starts working again, other times it gets stuck in the same value (even though the video is playing).On iPad, Android devices and Desktop it works as expected: When playing the video, the video starts from the requested time and
timeupdate
events get triggered normally.Reduced test case
https://codepen.io/tmldsousa/pen/azbaEqm
Steps to reproduce
timeupdate
eventscurrentTime(...)
play()
or otherwise click in the play button)timeupdate
events are not triggeredErrors
No error seems to be displayed on console, or raised in the
error
event handler.What version of Video.js are you using?
8.21.1
Video.js plugins used.
none
What browser(s) including version(s) does this occur with?
Any browser (tested Safari / Chrome)
What OS(es) and version(s) does this occur with?
iOS 18.3.1 (iPhone only, iPad works)
The text was updated successfully, but these errors were encountered: