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.

CommentFileSizeAuthor
ooyala-shared_player.js_.patch2.01 KBsirkitree

Comments

sirkitree’s picture

Status: Active » Needs review
sirkitree’s picture

Status: Needs review » Fixed

committed - we can revisit this if the duplication bothers anyone: http://drupal.org/cvs?commit=474192

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.