mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-03-01 04:40:21 +00:00
Update to get videoId
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
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user