Fixed youtube video cannot seek before video started with controls

This commit is contained in:
Calvin Tam 2015-08-05 19:56:16 -07:00
parent e97b616811
commit e135309670

View File

@ -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");