Now sending next video to chromecast

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 15:26:58 +01:00
parent 37ee42fab5
commit 673f9a7a0e
6 changed files with 59 additions and 6 deletions

View File

@@ -194,6 +194,12 @@ var Player = {
}
},
sendNext: function(obj){
if(chromecastAvailable){
castSession.sendMessage("urn:x-cast:zoff.no", {type: "nextVideo", title: obj.title, videoId: obj.videoId});
}
},
getTitle: function(titt, v)
{