Removed faulty logs

This commit is contained in:
Kasper Rynning-Tønnesen
2018-02-15 12:41:44 +01:00
parent 3c8f43a575
commit 1da45805f6

View File

@@ -141,7 +141,6 @@ var Player = {
compared = true;
}
if(prev_state == 2 && !chromecastAvailable) {
console.log("pausing");
Player.stopVideo();
was_stopped = true;
if(!durationBegun) {
@@ -161,7 +160,6 @@ var Player = {
}
if(!paused){
if((!mobile_beginning || chromecastAvailable) && prev_state != 2) {
console.log("playing");
Player.playVideo();
}
if(!durationBegun) {
@@ -169,8 +167,6 @@ var Player = {
}
}
console.log(prev_state, chromecastAvailable);
if(Player.player.getDuration() > seekTo || Player.player.getDuration() === 0 || chromecastAvailable || Player.player.getCurrentTime() != seekTo) {
Player.seekTo(seekTo);
}