- git clone the viewer from here and follow the instrutions instructions on that page to install it locally: https://github.com/jhdev/ohms-viewer. I also installed tomcat and php to get it to work.
- This is the php file we wrote, to be added to ohms-viewer/tmpl : https://gist.github.com/lealeelu/8e2da17afe7cd614d9ff
- Add the new oembed viewer to config/config.ini under players. The line should look like this:
players = other,brightcove,kaltura,youtube,oembed
We need to be able to send messages into the iframe to control the player in js/viewer_oembed.js – unfortunately you can't send messages very well that way, so we'll probably need to figure a way out to emembed embed everything within the iframe, leaving the iframe behind. This might require having to change what oembed returns, maybe we could supply parameters to specify non-iframe or iframe.