fixed issue with player not always showing up with a video, and skipping to fast not always changing the video

This commit is contained in:
Kasper Rynning-Tønnesen
2017-06-19 23:21:25 +02:00
parent bd950fc1e7
commit e6c7682380
6 changed files with 33 additions and 22 deletions

View File

@@ -54,7 +54,6 @@ var Playercontrols = {
play_pause: function()
{
if(!chromecastAvailable){
console.log(Player.player.getPlayerState());
if(Player.player.getPlayerState() == 1)
{
Player.pauseVideo();