Updated chromecast view, volume now changes volume on chromecast

This commit is contained in:
Kasper Rynning-Tønnesen
2016-12-10 21:08:43 +01:00
parent dd6fdc493c
commit a372494f55
7 changed files with 95 additions and 54 deletions

View File

@@ -377,4 +377,12 @@ function initfp(){
$(".mega").prepend('<div id="snow"></div>');
//Nochan.start_snowfall();
}
window['__onGCastApiAvailable'] = function(loaded, errorInfo) {
if (loaded) {
chromecastReady = true;
} else {
console.log(errorInfo);
}
}
}