Fixed youtube video cannot seek before video started with controls
This commit is contained in:
parent
e97b616811
commit
e135309670
@ -1253,7 +1253,7 @@
|
||||
|
||||
// YouTube
|
||||
if(player.type == "youtube") {
|
||||
player.embed.seekTo(player.media.currentTime);
|
||||
player.embed.seekTo(targetTime);
|
||||
|
||||
// Trigger timeupdate
|
||||
_triggerEvent(player.media, "timeupdate");
|
||||
|
Loading…
x
Reference in New Issue
Block a user