Updated to listener even though api says listner

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 19:13:04 +01:00
parent f88142abc1
commit 0d3ac5c6d6
2 changed files with 2 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ initializeCastApi = function() {
switch (event.sessionState) {
case cast.framework.SessionState.SESSION_STARTED:
castSession = cast.framework.CastContext.getInstance().getCurrentSession();
castSession.addMessageListner("urn:x-cast:zoff.no", chromecastListener)
castSession.addMessageListener("urn:x-cast:zoff.no", chromecastListener)
chromecastAvailable = true;
castSession.sendMessage("urn:x-cast:zoff.no", {type: "loadVideo", videoId: video_id, seekTo: Player.player.getCurrentTime()})