Change message subject format and rename some messages

This commit is contained in:
hensm
2019-02-11 18:52:01 +00:00
parent 53a16ccde7
commit da17c6df0d
14 changed files with 324 additions and 319 deletions

View File

@@ -16,7 +16,7 @@ window.chrome.cast.media = media;
onMessage(message => {
switch (message.subject) {
case "shimInitialized": {
case "shim:/initialized": {
const bridgeInfo = message.data;
// Call page's API loaded function if defined