mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated to seekto if currentduration is wrong
This commit is contained in:
@@ -81,7 +81,7 @@ var Player = {
|
||||
if(!durationBegun)
|
||||
Player.durationSetter();
|
||||
}
|
||||
if(Player.player.getDuration() > seekTo || Player.player.getDuration() === 0 || chromecastAvailable)
|
||||
if(Player.player.getDuration() > seekTo || Player.player.getDuration() === 0 || chromecastAvailable || Player.player.getCurrentTime() != seekTo)
|
||||
Player.seekTo(seekTo);
|
||||
Player.after_load = video_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user