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
When I used currentTime(641), the seek was successful(Because we detected the player's seek event
), but the browser reported an error and the video started playing from 0 seconds(We have once again detected the player's seek event,and In fact, the video started playing from 0 seconds), I have only used currentTime once. Why?
my code:
if(this.player) {
this.player.currentTime(newVal);
}
……
this.player.on('seeked', function () {
console.log('The video has seeked!', this.player.currentTime());
});
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
husongge-tal
changed the title
currentTime(120) is succeeded,but the video is seeked to 0
currentTime(641) is succeeded,but the video is seeked to 0
Apr 19, 2024
Description
When I used currentTime(641), the seek was successful(Because we detected the player's seek event
), but the browser reported an error and the video started playing from 0 seconds(We have once again detected the player's seek event,and In fact, the video started playing from 0 seconds), I have only used currentTime once. Why?
my code:
if(this.player) {
this.player.currentTime(newVal);
}
……
this.player.on('seeked', function () {
console.log('The video has seeked!', this.player.currentTime());
});
event listeners :
Reduced test case
http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8
Steps to reproduce
3.this.player.currentTime(641)
Errors
the error picture:
What version of Video.js are you using?
8.10.0
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Chrome/78
What OS(es) and version(s) does this occur with?
MacBook Pro (16-inch, 2019)
The text was updated successfully, but these errors were encountered: