mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed faulty logs
This commit is contained in:
@@ -141,7 +141,6 @@ var Player = {
|
|||||||
compared = true;
|
compared = true;
|
||||||
}
|
}
|
||||||
if(prev_state == 2 && !chromecastAvailable) {
|
if(prev_state == 2 && !chromecastAvailable) {
|
||||||
console.log("pausing");
|
|
||||||
Player.stopVideo();
|
Player.stopVideo();
|
||||||
was_stopped = true;
|
was_stopped = true;
|
||||||
if(!durationBegun) {
|
if(!durationBegun) {
|
||||||
@@ -161,7 +160,6 @@ var Player = {
|
|||||||
}
|
}
|
||||||
if(!paused){
|
if(!paused){
|
||||||
if((!mobile_beginning || chromecastAvailable) && prev_state != 2) {
|
if((!mobile_beginning || chromecastAvailable) && prev_state != 2) {
|
||||||
console.log("playing");
|
|
||||||
Player.playVideo();
|
Player.playVideo();
|
||||||
}
|
}
|
||||||
if(!durationBegun) {
|
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) {
|
if(Player.player.getDuration() > seekTo || Player.player.getDuration() === 0 || chromecastAvailable || Player.player.getCurrentTime() != seekTo) {
|
||||||
Player.seekTo(seekTo);
|
Player.seekTo(seekTo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user