mozilla / popcorn-js

The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
MIT License
2.14k stars 632 forks source link

Youtube player api updated #456

Closed benjah1 closed 9 years ago

benjah1 commented 9 years ago

Youtube player is now sending a different set of postMessage now. The new events inclues: initialDelivery, onReady, infoDelivery, onStateChange ...and maybe more.

The current popcron youtube wrapper cannot pick up these events. Accoroding to the how the youtube events were originally binded, this will be quite a big change.

benjah1 commented 9 years ago

This is the uptodate youtube iframe api https://developers.google.com/youtube/js_api_reference#Events

benjah1 commented 9 years ago

After looking into i

benjah1 commented 9 years ago

wrong description. it is not the issue of youtube iframe api, but the onReady function inside never get fired.