mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix on json
This commit is contained in:
@@ -136,7 +136,7 @@ function onPlayerStateChange(event) {
|
||||
//channel.send({'event':'stateChange','message':event.data});
|
||||
console.log(event);
|
||||
if (event.data==YT.PlayerState.ENDED) {
|
||||
customMessageBus.broadcast("{type: -1, videoId: " + videoId + "}")
|
||||
customMessageBus.send("urn:x-cast:zoff.no", {type: -1, videoId: videoId})
|
||||
customMessageBus.broadcast("{type: -1, videoId: '" + videoId + "'}")
|
||||
//customMessageBus.send("urn:x-cast:zoff.no", {type: -1, videoId: videoId})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user