mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Chromecast app working
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -157,6 +157,7 @@ var Player = {
|
|||||||
playVideo: function(){
|
playVideo: function(){
|
||||||
if(chromecastAvailable){
|
if(chromecastAvailable){
|
||||||
castSession.sendMessage("urn:x-cast:zoff.no", {type: "playVideo"});
|
castSession.sendMessage("urn:x-cast:zoff.no", {type: "playVideo"});
|
||||||
|
socket.emit('pos', {channel: chan.toLowerCase()});
|
||||||
} else {
|
} else {
|
||||||
Player.player.playVideo();
|
Player.player.playVideo();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user