Update to get videoId

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 13:10:27 +01:00
parent 40b552dc49
commit e74e188bd9
3 changed files with 7 additions and 5 deletions

View File

@@ -252,6 +252,7 @@ initializeCastApi = function() {
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
window.castSession = cast.framework.CastContext.getInstance().getCurrentSession();
chromecastAvailable = true;
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: video_id})
//cast.framework.CastSession(castSession);
$(".castButton").toggleClass("hide");
$(".castButton-active").toggleClass("hide");