mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Something is wrong with the damn button
This commit is contained in:
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -38,7 +38,7 @@ var Youtube = {
|
|||||||
if(paused)
|
if(paused)
|
||||||
ytplayer.pauseVideo();
|
ytplayer.pauseVideo();
|
||||||
}
|
}
|
||||||
if(!paused && !window.mobilecheck())
|
if(!paused)
|
||||||
ytplayer.playVideo();
|
ytplayer.playVideo();
|
||||||
if(ytplayer.getDuration() > seekTo || ytplayer.getDuration() == 0)
|
if(ytplayer.getDuration() > seekTo || ytplayer.getDuration() == 0)
|
||||||
ytplayer.seekTo(seekTo);
|
ytplayer.seekTo(seekTo);
|
||||||
@@ -125,7 +125,6 @@ var Youtube = {
|
|||||||
$("#controls").css("opacity", "1");
|
$("#controls").css("opacity", "1");
|
||||||
$(".playlist").css("opacity", "1");
|
$(".playlist").css("opacity", "1");
|
||||||
ytplayer.loadVideoById(video_id);
|
ytplayer.loadVideoById(video_id);
|
||||||
if(!window.mobilecheck())
|
|
||||||
ytplayer.playVideo();
|
ytplayer.playVideo();
|
||||||
ytplayer.seekTo(seekTo);
|
ytplayer.seekTo(seekTo);
|
||||||
//}
|
//}
|
||||||
|
|||||||
Reference in New Issue
Block a user