dailymotion / dailymotion-sdk-js

Dailymotion JavaScript client API
https://developers.dailymotion.com/api/platform-api/
MIT License
34 stars 33 forks source link

Ignore postMessage payloads that are not stringified #86

Closed johansatge closed 4 years ago

johansatge commented 4 years ago

The player <iframe> sends stringified payloads to the JS SDK through postMessage. They can be:

If for some reason, we receive an other format (Object for instance), the payload sould be ignored.