dailymotion/dailymotion-sdk-js — pull request #1 by xpac27 (2011-11-02 17:31:05+00:00)
Title: Add a XDCom Flash application

No doc for the moment, let me know if and how you want me to write one.

Usage :
- embed the flash on the page and on iFrame's page specifying opposite "localID" and "remoteID" flashvars
- add a "onXDComReady" method on both pages
- call "addEventListener('message', 'someCallbackJavascriptMethod')" on one embed
- call "postMessage('someMessage')" on the other embed

The "onXDComReady" method will not be called if something went wrong during initialization (wrong or empty flashvars, no allowScriptAccess, ...).