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:
@@ -1219,7 +1219,7 @@ nav ul li:hover, nav ul li.active {
|
||||
}
|
||||
|
||||
#player{
|
||||
display:none;
|
||||
/*display:none;*/
|
||||
}
|
||||
|
||||
.hide-on-small-only{
|
||||
|
||||
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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