Reimplemented the playpause function on desktop

This commit is contained in:
Kasper Rynning-Tønnesen
2016-03-30 15:54:39 +02:00
parent 5a64d2bb34
commit 83ebe7b47b
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -213,7 +213,7 @@
</div> </div>
</div> </div>
<div id="controls" class="noselect"> <div id="controls" class="noselect">
<div id="playpause" class="hide-on-large-only"> <div id="playpause">
<i id="play" class="mdi-av-play-arrow hide"></i> <i id="play" class="mdi-av-play-arrow hide"></i>
<i id="pause" class="mdi-av-pause"></i> <i id="pause" class="mdi-av-pause"></i>
</div> </div>
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -116,13 +116,13 @@ var Player = {
} }
break; break;
case 2: case 2:
if(window.mobilecheck() || embed) /*if(window.mobilecheck() || embed)
{ {*/
paused = true; paused = true;
Playercontrols.play_pause_show(); Playercontrols.play_pause_show();
} /*}
else else
Player.ytplayer.playVideo(); Player.ytplayer.playVideo();*/
// //
break; break;
case 3: case 3: