This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-27 16:56:49 +01:00
parent 80e4200a84
commit bc17384dc9
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -52,6 +52,7 @@ var Playercontrols = {
play_pause: function() play_pause: function()
{ {
console.log(ytplayer.getPlayerState());
if(ytplayer.getPlayerState() == 1) if(ytplayer.getPlayerState() == 1)
{ {
ytplayer.pauseVideo(); ytplayer.pauseVideo();