Closed johansatge closed 4 years ago
The player <iframe> sends stringified payloads to the JS SDK through postMessage. They can be:
<iframe>
postMessage
{"event":"apiready","id":"video-player-1"}
event=apiready&id=video-player-1
If for some reason, we receive an other format (Object for instance), the payload sould be ignored.
Object
The player
<iframe>
sends stringified payloads to the JS SDK throughpostMessage
. They can be:{"event":"apiready","id":"video-player-1"}
event=apiready&id=video-player-1
If for some reason, we receive an other format (
Object
for instance), the payload sould be ignored.