Channel fix

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-08 15:44:17 +02:00
parent 7f5d52ca30
commit 7ccb9298c0
3 changed files with 3 additions and 3 deletions

View File

@@ -262,7 +262,7 @@ var Player = {
loadVideoById: function(id, this_duration){
if(chromecastAvailable){
castSession.sendMessage("urn:x-cast:zoff.me", {type: "loadVideo", videoId: id, channel: chanl.toLowerCase()});
castSession.sendMessage("urn:x-cast:zoff.me", {type: "loadVideo", videoId: id, channel: chan.toLowerCase()});
chrome.cast.media.GenericMediaMetadata({metadataType: "GENERIC", title:song_title, image: 'https://img.youtube.com/vi/'+id+'/mqdefault.jpg'});
chrome.cast.Image('https://img.youtube.com/vi/'+id+'/mqdefault.jpg');
} else {