mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
showing youtubeplayer on mobile to fix nonplaying error
This commit is contained in:
@@ -170,7 +170,7 @@ var Youtube = {
|
||||
$("#controls").css("opacity", "1");
|
||||
$(".playlist").css("opacity", "1");
|
||||
Youtube.ytplayer.loadVideoById(video_id);
|
||||
if(autoplay) Youtube.ytplayer.playVideo();
|
||||
if(autoplay && !window.mobilecheck()) Youtube.ytplayer.playVideo();
|
||||
Youtube.durationSetter();
|
||||
if(embed){
|
||||
setTimeout(function(){
|
||||
|
||||
Reference in New Issue
Block a user