Trying delayed start event

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 21:34:39 +01:00
parent e0a1045252
commit 3e5eed4af5
4 changed files with 6 additions and 6 deletions

View File

@@ -132,7 +132,7 @@ var Player = {
}
if(paused)
{
if(!chromecastAvailable) socket.emit('pos', {channel: chan.toLowerCase()});
socket.emit('pos', {channel: chan.toLowerCase()});
paused = false;
}
break;
@@ -157,7 +157,7 @@ var Player = {
playVideo: function(){
if(chromecastAvailable){
castSession.sendMessage("urn:x-cast:zoff.no", {type: "playVideo"});
socket.emit('pos', {channel: chan.toLowerCase()});
//socket.emit('pos', {channel: chan.toLowerCase()});
} else {
Player.player.playVideo();
}