mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-19 06:22:07 +00:00
Fixed duration when navigating from and to channels
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -279,7 +279,7 @@ var Player = {
|
|||||||
}catch(e){};*/
|
}catch(e){};*/
|
||||||
if(duration != undefined){
|
if(duration != undefined){
|
||||||
try{
|
try{
|
||||||
durationBegun = true;
|
if(!Player.stopInterval) durationBegun = true;
|
||||||
dMinutes = Math.floor(duration / 60);
|
dMinutes = Math.floor(duration / 60);
|
||||||
dSeconds = duration - dMinutes * 60;
|
dSeconds = duration - dMinutes * 60;
|
||||||
currDurr = Player.ytplayer.getCurrentTime() != undefined ? Math.floor(Player.ytplayer.getCurrentTime()) : seekTo;
|
currDurr = Player.ytplayer.getCurrentTime() != undefined ? Math.floor(Player.ytplayer.getCurrentTime()) : seekTo;
|
||||||
|
|||||||
Reference in New Issue
Block a user