diff --git ooyala_sharedplayer.js ooyala_sharedplayer.js
index cab85f6..a19ca0b 100644
--- ooyala_sharedplayer.js
+++ ooyala_sharedplayer.js
@@ -16,10 +16,37 @@ jQuery.each(Drupal.settings.ooyalaSharedPlayerCodes, function(i, val) {
 Drupal.ooyala = Drupal.ooyala || {'listeners': {}};
 
 /**
+ * Dispatch Ooyala player callback events to all registered listeners.
+ *
+ * Listeners are registered in the Drupal.ooyala.listeners object as follows.
+ * @code
+ *    Drupal.ooyala.listeners = function (player, eventName, p) {
+ *      ...
+ *    };
+ * @endcode
+ *
+ * All listeners will recieve the following arguments.
+ * - player: The DOM object representing the Ooyala player that is recieving
+ *   the event notification.
+ * - eventName: The event name as sent by Ooyala.
+ * - p: Extra notification parameters.
+ *
+ * Read the Ooyala javascript API documentation for a complete list of events
+ * and their possible extra notification parameters.
+ * @link http://www.ooyala.com/support/docs/player_api#javascript
+ */
+Drupal.ooyala.notifyListeners = function(playerId, eventName, p) {
+  var player = document.getElementById(playerId);
+  jQuery.each(Drupal.ooyala.listeners, function() {
+    this(player, eventName, p);
+  });
+};
+
+/**
  * Add an event responder to Drupal.ooyala.listners list.
  */
 Drupal.ooyala.listeners.shared_player = function(player, eventName, p) {
-  playerId = $(this).attr('id');
+  playerId = $(player).attr('id');
   switch(eventName) {
     case 'embedCodeChanged':
       $('#title-' + playerId ).empty().append(p.title);
@@ -33,3 +60,14 @@ Drupal.ooyala.listeners.shared_player = function(player, eventName, p) {
   }
   return;
 }
+
+/**
+ * Callback function for Ooyala Javascript API. Recieves events for the player
+ * and then dispatches them so that other modules can interact with the player.
+ *
+ * @see Drupal.ooyala.notifyListeners()
+ */
+function receiveOoyalaEvent(playerId, eventName, p) {
+  Drupal.ooyala.notifyListeners(playerId, eventName, p);
+  return;
+}
\ No newline at end of file
