|
| OoyalaPlayer (String pcode, PlayerDomain domain) |
| Initialize an OoyalaPlayer with the given parameters. More...
|
|
| OoyalaPlayer (String pcode, PlayerDomain domain, Options options) |
| Initialize an OoyalaPlayer with the given parameters. More...
|
|
| OoyalaPlayer (String pcode, PlayerDomain domain, EmbedTokenGenerator generator, Options options) |
| Initialize an OoyalaPlayer with the given parameters. More...
|
|
boolean | setEmbedCode (String embedCode) |
| Reinitializes the player with a new embed code. More...
|
|
boolean | setEmbedCodes (List< String > embedCodes) |
| Reinitializes the player with a new set of embed codes. More...
|
|
boolean | setEmbedCodeWithAdSetCode (String embedCode, String adSetCode) |
| Reinitializes the player with a new embed code. More...
|
|
boolean | setEmbedCodesWithAdSetCode (List< String > embedCodes, final String adSetCode) |
| Reinitializes the player with a new set of embed codes. More...
|
|
boolean | setExternalId (String externalId) |
| Reinitializes the player with a new external ID. More...
|
|
boolean | setExternalIds (List< String > externalIds) |
| Reinitializes the player with a new set of external IDs. More...
|
|
boolean | setAsset (JSONObject asset) throws OoyalaException |
| Provides possibility to set asset from json for current video. More...
|
|
boolean | setUnbundledVideo (UnbundledVideo unbundledVideo) |
|
boolean | changeCurrentItem (String embedCode) |
| Set the current video in a channel if the video is present. More...
|
|
boolean | changeCurrentItem (Video video, String adSetCode) |
| Set the current video in a channel if the video is present. More...
|
|
void | reauthorizeCurrentItem (ServerTaskCallback callback) |
| Reauthorize the currentItem, which would refresh the auth_token. More...
|
|
boolean | hasVRContent () |
|
void | setVRMode (VrMode mode) |
|
VrMode | getVRMode () |
|
void | switchVRMode () |
|
void | rotateVRContentHorizontally (int direction) |
|
void | rotateVRContentVertically (int direction) |
|
void | onAuthHeartbeatError (OoyalaException error) |
|
void | setCustomAnalyticsTags (List< String > tags) |
| set the analytics tags More...
|
|
void | release () |
| This will release all the resources held by player. More...
|
|
void | destroy () |
| This will release all the resources held by player and destroy player itself. More...
|
|
void | pause () |
| Pause the current video. More...
|
|
void | play () |
| Start the current video. More...
|
|
void | handlePlayPause () |
|
void | handlePlayPause (boolean replayPressed) |
| Handle play/pause event from Ooyala Skin. More...
|
|
void | setPlayheadTime (int timeInMillis) |
| Synonym for seek. More...
|
|
void | setReplayPressed (boolean replayPressed) |
| Handle replay from the native UI and replay event from Ooyala Skin. More...
|
|
void | seek (int timeInMillis) |
| Move the playhead to a new location in seconds with millisecond accuracy. More...
|
|
void | seekToPercent (float percent) |
| Seek to the given percentage. More...
|
|
void | play (int initialTimeInMillis) |
| Play the current video with an initialTime. More...
|
|
boolean | isAudioOnly () |
|
void | setBitrateEstimate (long bitrateEstimate) |
| Ability to set the initial bitrate within an HLS and DASH manifest that will be used to start up the stream (instead of the first bitrate in the manifest). More...
|
|
long | getBitrateEstimate () |
| Information about the initial bitrate estimate that is used to start up the stream (instead of the first bitrate in the manifest). More...
|
|
boolean | isLiveClosedCaptionsAvailable () |
| Checks if the content player has observed any in-stream closed captions (for example, CEA-608/708). More...
|
|
boolean | isMultiAudioAvailable () |
| Checks if the content player has observed several audio tracks. More...
|
|
double | getBitrate () |
|
boolean | isPlaying () |
|
boolean | isAdPlaying () |
|
int | getDuration () |
| Get the current item's duration. More...
|
|
int | getContentDuration () |
| Get the movie content duration. More...
|
|
int | getBufferPercentage () |
| Get the current item's buffer percentage. More...
|
|
int | getPlayheadTime () |
| Find where the playhead is with millisecond accuracy. More...
|
|
int | getPlayheadPercentage () |
| Get the current item's playhead time as a percentage. More...
|
|
void | setClosedCaptionsLanguage (String language) |
| Set the displayed closed captions language. More...
|
|
String | getClosedCaptionsLanguage () |
| Get the currently enabled closed captions language. More...
|
|
void | setAdsSeekable (boolean seekable) |
| Set whether ads played by this OoyalaPlayer are seekable (default is false) More...
|
|
boolean | seekable () |
|
void | setSeekable (boolean seekable) |
| Set whether videos played by this OoyalaPlayer are seekable (default is true) More...
|
|
float | getVolume () |
| The volume of the OoyalaPlayer, relative to the device's volume setting. More...
|
|
void | setVolume (float volume) |
| The volume of the OoyalaPlayer, relative to the device's volume setting. More...
|
|
String | getPlayerSessionId () |
| A Session ID that is created at the initialization of OoyalaPlayer. More...
|
|
String | getContentSessionId () |
| A Session ID that is created on the set of a new piece of content (i.e setEmbedCode). More...
|
|
boolean | isPlaybackCompleted () |
|
void | passTouchEventToVRView (MotionEvent event, boolean isScroll) |
| Pass touches through react-native to vr view. More...
|
|
void | suspend () |
| Suspend the current video (can be resumed later by calling resume). More...
|
|
void | suspend (boolean playInBackground) |
| Suspend the current video (can be resumed later by calling resume). More...
|
|
void | resume () |
| Resume the current video from a suspended state. More...
|
|
void | configurationChanged (Configuration newConfig) |
| This method is called when the device configuration changes while your component is running. More...
|
|
boolean | previousVideo (int what) |
| Change the current video to the previous video in the Channel or ChannelSet. More...
|
|
boolean | nextVideo (int what) |
| Change the current video to the next video in the Channel or ChannelSet. More...
|
|
void | resetAds () |
| This will reset the state of all the ads to "unplayed" causing any ad that has already played to play again. More...
|
|
void | skipAd () |
| Skip the currently playing ad. More...
|
|
void | clickAd () |
| Skip the currently playing ad. More...
|
|
void | onAdclickThrough () |
| Process the click through event from UI. More...
|
|
void | onAdIconClicked (int index) |
| This is called when an icon is clicked. More...
|
|
void | onAdOverlayClicked (String clickUrl) |
| For internal Ooyala use only. More...
|
|
boolean | registerPlugin (final AdPluginInterface plugin) |
| register a ad plugin More...
|
|
boolean | deregisterPlugin (final AdPluginInterface plugin) |
| deregister a ad plugin More...
|
|
void | registerPlugin (SsaiPluginInterface ssaiPlugin) |
| Register a SSAI plugin. More...
|
|
void | deregisterPlugin (SsaiPluginInterface ssaiPlugin) |
| Deregister a SSAI plugin. More...
|
|
boolean | registerPlugin (AnalyticsPluginInterface plugin) |
|
boolean | deregisterPlugin (AnalyticsPluginInterface plugin) |
|
OoyalaManagedAdsPlugin | getManagedAdsPlugin () |
| Get the Ooyala Managed Ads Plugin, which maintains VAST and Ooyala Advertisements. More...
|
|
void | insertAds (List< VASTAdSpot > ads) |
| Insert VAST ads to the managed ad plugin. More...
|
|
void | registerCastManager (CastManagerInterface castManagerInterface) |
| Resgister a castManager. More...
|
|
boolean | requestAdMode (AdPluginInterface plugin) |
| called by a plugin when it request admode ooyalaplayer More...
|
|
boolean | exitAdMode (final AdPluginInterface plugin) |
| called by a plugin when it finishes ad play and return the control to ooyalaplayer More...
|
|
void | switchToCastMode (String embedCode) |
|
void | exitCastMode (int exitPlayheadTime, boolean isPlaying, String ec) |
|
boolean | isInCastMode () |
|
void | update (Observable observable, Object o) |
|
StateNotifier | createStateNotifier () |
|
ID3TagNotifier | getID3TagNotifier () |
|
String | getCustomDRMData () |
| Get the customDRMData for the current player. More...
|
|
void | setCustomDRMData (String data) |
| Set the customDRMData for the current player. More...
|
|
ActionAtEnd | getActionAtEnd () |
| Get what the player will do at the end of playback. More...
|
|
void | setActionAtEnd (ActionAtEnd actionAtEnd) |
| Set what the player should do at the end of playback. More...
|
|
JSONObject | getMetadata () |
|
Video | getCurrentItem () |
| The current movie. More...
|
|
ContentItem | getRootItem () |
| The embedded item (movie, channel, or channel set). More...
|
|
OoyalaException | getError () |
| Get the current error code, if one exists. More...
|
|
String | getEmbedCode () |
| Get the embedCode for the current player. More...
|
|
String | getPcode () |
| Get the pcode for this OoyalaPlayer instance. More...
|
|
PlayerDomain | getDomain () |
| Get the domain for this OoyalaPlayer instance. More...
|
|
PlayerInfo | getPlayerInfo () |
|
MoviePlayerSelector | getMoviePlayerSelector () |
| For internal use only. More...
|
|
Handler | getHandler () |
| For internal use only. More...
|
|
ReadonlyOptionsInterface | options () |
| Get the Options that were provided on creation of the OoyalaPlayer. More...
|
|
ReadonlyOptionsInterface | getOptions () |
|
State | getState () |
| Get current player state. More...
|
|
DesiredState | getDesiredState () |
|
OoyalaAPIClient | getOoyalaAPIClient () |
|
Set< String > | getAvailableClosedCaptionsLanguages () |
| Get the available closed captions languages codes. More...
|
|
Set< String > | getAvailableClosedCaptionsLanguagesNames () |
| Get the available closed captions languages names. More...
|
|
String | getAuthToken () |
| Get the authToken for the current player. More...
|
|
boolean | isAuthTokenExpired () |
| Checks the expiration of the authToken, and compares it to the current time. More...
|
|
void | setAuthToken (String authToken) |
| Set the AuthToken used to authorize video playback. More...
|
|
ContentOrAdType | getPlayingType () |
|
Set< Integer > | getCuePointsInMilliSeconds () |
| The miliseconds within the video where advertisement cue points exist. More...
|
|
Set< Integer > | getCuePointsInPercentage () |
| Get the percentages within the video where cue points exist. More...
|
|
boolean | isShowingAd () |
|
SeekStyle | getSeekStyle () |
| get the seek style More...
|
|
boolean | showingAdWithHiddenControlls () |
|
void | setLayoutController (LayoutController layoutController) |
| Set the layout controller from which the OoyalaPlayer should fetch the layout to display to. More...
|
|
int | getTopBarOffset () |
| Get the absolute pixel of the top bar's distance from the top of the device. More...
|
|
void | addVideoView (View videoView) |
| For internal Ooyala use only. More...
|
|
void | removeVideoView () |
| For internal Ooyala use only. More...
|
|
boolean | isFullscreen () |
| Returns true if in fullscreen mode, false if not. More...
|
|
void | setFullscreen (boolean fullscreen) |
| Set fullscreen mode (will only work if fullscreenLayout is set) This will call the setFullscreen method on the associated LayoutController. More...
|
|
FrameLayout | getLayout () |
| Get the current OoyalaPlayerLayout. More...
|
|
void | setHook () |
|
int | beginFetchingAdvertisingId (final Context context, final IAdvertisingIdListener listener) |
| Start obtaining the Advertising Id, which internally is then used in e.g. More...
|
|
AnalyticsPluginManager | getAnalyticPluginManager () |
|
void | registerFactory (PlayerFactory factory) |
|
void | registerDataSourceFactory (DataSourceFactory factory) |
|
DataSourceFactory | getDataSourceFactory () |
|
void | setAudioTrack (String track) |
| Establish an audio track is obtained from Ooyala Skin. More...
|
|
void | setAudioTrack (AudioTrack track) |
| Set an audio track. More...
|
|
void | setDefaultAudioTrack (AudioTrack track) |
| Override the default audio track. More...
|
|
void | setUserDefinedAudioTrack (String track) |
| Set an audio track and override the default audio track that was received from Skin. More...
|
|
void | setDefaultAudioLanguage (String language) |
| Override the default audio track language. More...
|
|
void | setConfigDefaultAudioLanguage (String language) |
| Override the default audio track language that was received in skin.json. More...
|
|
List< AudioTrack > | getAvailableAudioTracks () |
|
AudioTrack | getCurrentAudioTrack () |
|
AudioTrack | getDefaultAudioTrack () |
|
String | getDefaultAudioLanguage () |
|
DefaultAudioParams | getDefaultAudioParams () |
|
float | getPlaybackSpeed () |
|
void | setPlaybackSpeed (float speed) |
| Set the playback speed. More...
|
|
void | setSelectedPlaybackSpeed (float speed) |
| Set the playback speed that was received from Skin. More...
|
|
void | initPlaybackRateInteractions (PlaybackSpeedControl control) |
| Initialize playback rate interactions. More...
|
|
void | createBitmapScreenshot (final PlayerBitmapListener playerBitmapListener) |
| Create the bitmap screenshot of the current video frame. More...
|
|
int | contentPlayerCurrentTime () |
| Get the content player current time, even if it is not the active player. More...
|
|
int | contentPlayerDuration () |
| Get the duration of the asset being played in the content player, even if it is not the active player. More...
|
|
State | contentPlayerCurrentState () |
| Get the content player current state, even if it is not the active player. More...
|
|
void | contentPlayerPlay () |
| Play the content player, even if it is not the active player. More...
|
|
void | contentPlayerPause () |
| Pause the content player, even if it is not the active player. More...
|
|
void | contentPlayerSuspend () |
| Suspend the content player, even if it is not the active player. More...
|
|
void | contentPlayerResume () |
| Resume the content player, even if it is not the active player. More...
|
|
boolean | requestAdMode (final AdPluginInterface plugin) |
| called when plugin request ad mode More...
|
|
boolean | registerPlugin (final AnalyticsPluginInterface plugin) |
| Register an Analytics Plugin. More...
|
|
boolean | deregisterPlugin (final AnalyticsPluginInterface plugin) |
| Deregister an Analytics Plugin. More...
|
|