In https://drupal.org/cvs?commit=439650 we changed from a regular callback as recommended by Ooyala (http://www.ooyala.com/support/docs/player_api#javascript) into a more Drupal-compatible style of listening. However, this is never called since our Ooyala callback is specifying receiveOoyalaEvent and the shared_player.js doesn't have this function at all now.
We either need to replicate how this is working, or simply re-factor to use the same .js file.
Along with this is a small bug where Drupal.ooyala.listeners.shared_player is trying to get the playerId from $(this) which should be $(player)
Following patch makes these changes.
| Comment | File | Size | Author |
|---|---|---|---|
| ooyala-shared_player.js_.patch | 2.01 KB | sirkitree |
Comments
Comment #1
sirkitree commentedComment #2
sirkitree commentedcommitted - we can revisit this if the duplication bothers anyone: http://drupal.org/cvs?commit=474192