Error message

User warning: The following module is missing from the file system: fast_404. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of /mnt/www/html/ooyala/docroot/includes/bootstrap.inc).

Trabajar con eventos

Debe escuchar las notificaciones de eventos en el objeto del reproductor.

En primer lugar debe configurar objetos de notificación, tal como se muestra a continuación. Los eventos se enumeran en el archivo de encabezado Headers/OOOoyalaPlayer.h con comentarios explicativos:
ios Notifications:
// notifications
extern NSString const OOOoyalaPlayerTimeChangedNotification; /*< Fires when the Playhead Time Changes */
extern NSString const OOOoyalaPlayerStateChangedNotification; /*< Fires when the Player's State Changes */
extern NSString const OOOoyalaPlayerContentTreeReadyNotification; /*< Fires when the content tree's metadata is ready and can be accessed */
extern NSString const OOOoyalaPlayerAuthorizationReadyNotification; /*< Fires when the authorization status is ready and can be accessed */
extern NSString const OOOoyalaPlayerPlayStartedNotification; /*< Fires when play starts */
extern NSString const OOOoyalaPlayerPlayCompletedNotification; /*< Fires when play completes */
extern NSString const OOOoyalaPlayerCurrentItemChangedNotification; /*< Fires when the current item changes */
extern NSString const OOOoyalaPlayerAdStartedNotification; /*< Fires when an ad starts playing */
extern NSString const OOOoyalaPlayerAdCompletedNotification; /*< Fires when an ad completes playing */
extern NSString const OOOoyalaPlayerAdSkippedNotification; /*< Fires when an ad is skipped */
extern NSString const OOOoyalaPlayerErrorNotification; /*< Fires when an error occurs */
extern NSString const OOOoyalaPlayerAdErrorNotification; /*< Fires when an error occurs while trying to play an ad */
extern NSString const OOOoyalaPlayerMetadataReadyNotification; /*< Fires when content metadata is ready to be accessed */

/**
* Fires when the presentation size of the video changes.
* userInfo holds the new CGSize wrapped in an NSValue for the key "presentationSize".
*/
extern NSString *const OOOoyalaPlayerPresentationSizeChangedNotification;
    
Debe escuchar las notificaciones sobre estos objetos y, a continuación, llevar a cabo cualquier acción programática que considere necesaria. Por ejemplo para el evento OOOoyalaPlayerMetadataReadyNotification:
(void) metadataReady:(NSNotification*)notification {
 NSLog(@"Metadata ready: %@", ooyalaPlayerViewController.player.metadata);
}

Para ver un ejemplo, consulte Tratar los errores.