[Kaltura-html5-dev] PostMessage Binding Order

Andrew Davis andrew.davis at kaltura.com
Tue Feb 21 22:12:26 UTC 2012


I've begun working on an implementation of popcorn.js as an mwEmbed module, so that we can eventually store popcorn plugins and edl data in custom metadata fields on Kaltura servers.

I'd like to move the normal Popcorn('#video-tag-id') to $( embedPlayerId ).Popcorn( '#kwidget-div' ) as soon as the popcorn javascript is loaded via ResourceLoader.php so that all bindings to Popcorn can be achieved in the readyCallback using playerId.Popcorn.action({…}) :  https://github.com/papyromancer/mwEmbed/blob/3c497c1b13ed46728c6e022f51279f816b6adf9e/modules/Popcorn/tests/Popcorn.html

It seems like I'm binding too soon.  Here's the mw.Popcorn,js I'm working with: https://github.com/papyromancer/mwEmbed/blob/bd97d6e26d9699ef09e2cc32cdf2f9fc8391ffe9/modules/Popcorn/mw.Popcorn.js

Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://html5video.org/pipermail/kaltura-html5-dev/attachments/20120221/472b639d/attachment.html>


More information about the Kaltura-html5-dev mailing list