mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removing playpause buttons
This commit is contained in:
@@ -209,7 +209,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="controls" class="noselect">
|
||||
<div id="playpause">
|
||||
<div id="playpause" class="hide-on-large-only">
|
||||
<i id="play" class="mdi-av-play-arrow hide"></i>
|
||||
<i id="pause" class="mdi-av-pause"></i>
|
||||
</div>
|
||||
|
||||
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/frontpage.min.js
vendored
2
static/dist/frontpage.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
@@ -112,9 +112,14 @@ var Player = {
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
paused = true;
|
||||
|
||||
Playercontrols.play_pause_show();
|
||||
if(window.mobilecheck())
|
||||
{
|
||||
paused = true;
|
||||
Playercontrols.play_pause_show();
|
||||
}
|
||||
else
|
||||
Player.ytplayer.playVideo();
|
||||
//
|
||||
break;
|
||||
case 3:
|
||||
break;
|
||||
@@ -252,7 +257,7 @@ var Player = {
|
||||
onYouTubeIframeAPIReady: function() {
|
||||
Player.ytplayer = new YT.Player('player', {
|
||||
videoId: video_id,
|
||||
playerVars: { rel:"0", wmode:"transparent", controls: "0" , iv_load_policy: "3", theme:"light", color:"white"},
|
||||
playerVars: { rel:"0", wmode:"transparent", controls: "0" , iv_load_policy: "3", theme:"light", color:"white", showinfo: 0},
|
||||
events: {
|
||||
'onReady': Player.onPlayerReady,
|
||||
'onStateChange': Player.onPlayerStateChange,
|
||||
|
||||
Reference in New Issue
Block a user