No results found.
The OoyalaPlayer is the heart of the playback system. More...
#import <OOOoyalaPlayerFacade.h>
The OoyalaPlayer is the heart of the playback system.
Use it to configure and control asset playback, and to be aware of playback state changes.
Provided by category OOOoyalaPlayer(AppEvents).
Provided by category OOOoyalaPlayer(Ads).
Return an OoyalaAPIClient.
Get the available closed captions languages.
Provided by category OOOoyalaPlayer(ClosedCaptions).
Get the current bitrate.
Provided by category OOOoyalaPlayer(Playback).
Get the maximum buffered time.
Sets the current video in a channel, if the video is present.
Sets the current video.
OOVideo must be a part of the content tree provided by the root item.
Set the unbundled HA video.
Click on the currently playing ad.
Called by an ad plugin to create a state notifier.
Provided by category OOOoyalaPlayer(AdPluginManagement).
Returns a string with all the actions made by offline analytics.
Disables the CC in the HLS Playlist.
Gets the duration of the asset.
get encryptedloopback.
Provided by category OOOoyalaPlayer(Cast).
Provided by category OOOoyalaPlayer(MoviePlayerCreation).
Return a collection of the times at which to show cue points.
E.g. for the content player, show when ads are scheduled to play.NSNumber int seconds>
Lets you know if the current video has multiple audio tracks.
It requires that a video has already loaded.
The following code snippet shows an example of this method. It assumes you are listening to the events of the OOOoyalaPlayer using notifications:
Provided by category OOOoyalaPlayer(MultiAudio).
Provided by category OOOoyalaPlayer(UI).
Initialize an OOOoyalaPlayer with the given parameters.
Insert VAST ads to the managed ad plugin.
Use to get state for Ooyala Analytics (IQ) tracking.
Checks the expiration of the authToken, and compares it to the current time.
Get whether the player is playing.
Get whether the player is playing ad.
Get the short code from the natural language name.
Example: name="english", code="en".
internal Ooyala use only.
Gets the (approximate) real time of a live stream.
Tries to set the current video to the next video in the OOChannel or ChannetSet.
Provided by category OOOoyalaPlayer(Channel).
Provided by category OOOoyalaPlayer(PlaybackWorkflow).
Called when an icon is clicked.
Called when an ad overlay is clicked.
Pauses the current video.
Plays the current video.
Gets the current playhead time (the part of the video currently being accessed).
Plays the current video with an initial time.
Tries to set the current video to the previous video in the OOChannel or ChannetSet.
Performs authorization on the current item, refreshing teh auth token if necessary.
Register ad player for an ad type.
Reset the state of ad plays.
Calling this will cause all ads which have been played to play again.
Sets the current playhead time of the player (same as setPlayheadTime).
current seekable range for main video.
Reinitializes the player with a new asset JSON.
DEPRECATED.
Sets a tag for custom analytics.
Reinitializes the player with a new embedCode.
Reinitializes the player with a new embedCode and sets the ad set dynamically.
Reinitializes the player with the new embedCodes (as an array).
Reinitializes the player with the new embedCodes (as an array) and sets the ad set dynamically.
set encryptedloopback.
Set which environment is used for Player APIs.
Default OOOoyalaPlayerEnvironmentProduction
Reinitializes the player with a new external ID.
External IDs enable you to assign custom identifiers to your assets so they are easier to organize, update, and modify.
Reinitializes the player with the new external IDs (as an array).
Use to set different states for Ooyala Analytics (IQ) tracking.
Default OOIQAnalyticsTrackingStateDefault.
Sets the current playhead time of the player (same as seek).
For example, to start a video at the 30 second point, you would set the playhead to 30.
Reinitializes the player with a root item.
Set if SSL is used for Player APIs.
Default YES
Casting of OOUnbundledVideo is not supported.
YES means to try to use local/debug DRM modes, NO means to use regular DRM config.
Skips the currently playing ad (if one is playing.
does nothing if not)
Gets the player's current state.
Toggle the picture in picture mode iOS 9 and up only.
Get the version and RC of the Ooyala SDK.
The default player ID value: "ooyala ios player"
The name used for notifications which fire when a linear advertisement has been completed.
Nothing is provided through UserInfo.
The name used for notifications which fire when a recoverrable error occurs during an ad.
The name used for notifications which fire when an ad overlay should be displayed.
Nothing is provided through UserInfo. This applies to Ooyala-managed VAST Advertisements only.
The name used for notifications which fire when an ad manager has ceded control of the OoyalaPlayer, and content should resume.
The name used for notifications which fire when an ad manager has control of the OoyalaPlayer.
Nothing is provided through UserInfo. Ads may or may not play during this time.
The name used for notifications which fire when an advertisement is skipped.
Nothing is provided through UserInfo. This only applies to VAST advertisements.
The name used for notifications which fire when ads are completed loading.
Nothing is provided through UserInfo. This only applies to Freewheel and Pulse advertisements.
The name used for notifications which fire when a linear advertisement starts playing back.
The name used for notifications which fire when an advertisement is tapped (IMA only).
Nothing is provided through UserInfo. This only applies to IMA advertisements.
Notification when application volume changed.
Notification when audio track changed.
The name used for notifications when the upcoming asset's authorization status is ready and can be accessed.
The name used for notifications which fire when bitrate has changed in video playback.
Nothing is provided through UserInfo. You should be able to check bitrate (OOOoyalaPlayer(Playback)) for a new value.
Notification when buffering completes in the player.
No additional data provided. This notification is for the user to know that the current buffer of the player is full and it is ready to resume playback.
Notification when buffering starts in the player.
No additional data provided. This notification is for the user to know that the current buffer of the player is empty and it is trying to get more data to resume playback.
The name used for notifications which fire when the closed captions are in manifest.
The name used for notifications which fire when content should resume after an advertisement.
The name used for notifications when the upcoming asset's content tree is ready and can be accessed.
The name used for notifications when all of the upcoming asset's metadata is ready, and the item is ready to be played.
The name used for notifications when the player's desired state changes.
UserInfo is a dictionary with a key "newState" with a value of OOOoyalaPlayerDesiredState.
The name used for notifications which fire the Embed Code (aka Content ID) has been changed.
The name used for notifications which fire when an irrecoverable error occurs.
Nothing is provided through UserInfo. You should check the error when you get this.
Notificaation when video get connected or disconnected to airplay.
No additional data provided. This notification is for the user to know that phone is now connected or disconnected with airplay.
Notification when video view handle touch.
Data contains touch coordinates and event name.
The name used for notifications which fire JSON is received (i.e. ID3 tags).
UserInfo is a dictionary with keys and values that were all in the JSON from the ID3 tag.
The name used for notifications which fire when the closed captions language is changed.
Nothing is provided through UserInfo. You can get the language from closedCaptionsLanguage.
The name used for notifications which fire after a successful license acquisition.
The name used for notifications when the upcoming asset's metadata is ready and can be accessed.
Notification when asset have multi audio.
Notification when asset is available for playback speed.
Notification when playback speed rate changed.
The name used for notifications which fire when video playback is completed.
The name used for notifications when video playback starts.
The name used for notifications which fire when seek is completed.
UserInfo is a dictionary with a key "newState" with a value of a OOSeekInfo object. The seekStartTime of the object is not set for this notification.
The name used for notifications which fire when seek is initialized.
UserInfo is a dictionary with a key "newState" with a value of a OOSeekInfo object.
Notification when received the ads metadata for SSAI.
Notification when an ssai ad break has started.
Notification when an SSAI ad break has ended.
The name used for notifications when the player's state changes.
UserInfo is a dictionary with a key "newState" with a value of OOOoyalaPlayerState.
Notification when pressed switch between stereo and mono.
No additional data provided.
The name used for notifications when playhead time changes.
Nothing is provided through UserInfo. You can get the time with OOoyalaPlayer.playheadTime
Notification when we handle vr metatag.
UserInfo contains bool value "vrContent". YES if video is 360 otherwise NO
Notification when VR player did configured.
the OOOoyalaPlayerActionAtEnd to perform when the current item finishes playing.
Whether or not the Ads that OOOoyalaPlayer plays are seekable.
This property can be used to pass Custom Implementation of AVAssetResourceLoaderDelegate from AVFoundation.
Note : This only for special purposes. Not recommend to use this property often. When this property is in use, you CAN NOT use FairPlay.
The Auth Token provided by Ooyala Authorization, when using Ooyala Player Token.
the current closed captions language, or nil to hide closed captions.
A Session ID that is created on the set of a new piece of content (i.e setEmbedCode).
Persists until a new piece of content is set. Can be null if no video was set
The OOOoyalaPlayer's currently playing OOVideo.
A callback that will be called every time the current item is changed.
Gets the user's current desired state.
The OOOoyalaPlayer's current error if it exists.
Get whether the player is playing the audio only stream in an m3u8.
Get the managedAdsPlugin that manages OOOoyalaAdSpots and OOVASTAdSpots.
The OOOoyalaPlayer's content metadata for currently loaded content.
Get the options.
When external playback is enabled, this will share the video view to the external screen only, instead of mirroring the device.
the rate of playback. 1 is the normal speed. Set to .5 for half speed, 2 for double speed, etc.
A Session ID that is created at the initialization of OoyalaPlayer.
Persists for the life of the OoyalaPlayer
The OOOoyalaPlayer's embedded content (OOVideo, OOChannel, or OOChannelSet)
Whether or not the Videos that OOOoyalaPlayer plays are seekable.
This property can be used to set the User-Agent for manifest requests served by AVPlayer.
This will not change User-Agent for player api requests. Note : [player setUserAgent:"
"] should be called after initializing player but before calling [player setEmbedCode:] method.
the view associated with the player
The volume of the OoyalaPlayer, relative to the device's volume setting.
For example, if volume is 1.0 (default), the playback volume would be as loud as the device's volume. The volume set here will affect Content, Ooyala, Pulse, and VAST ad playback. It will not affect other ad managers. This property can be changed at any point after the OoyalaPlayer is initialized