this class implements video stream object
More...
#import "OOVideo.h"
this class implements video stream object
OOVideo.
OOVideo.h in OoyalaSDK
- (BOOL) fetchPlaybackInfo |
|
|
|
- (id) fetchPlaybackInfo: |
|
(void(^)(BOOL)) |
callback |
|
- (void) filterAds: |
|
(NSPredicate *) |
predicate |
|
Edit the list of ads, allowing for removal of ads.
- Parameters
-
predicate | block that returns TRUE for ads to keep, FALSE for ads to remove. |
Check if the OOVideo has ads.
- Returns
- whether the OOVideo has ads or not
- (BOOL) hasClosedCaptions |
|
|
|
Check if the OOVideo has Closed Captions.
- Returns
- whether the OOVideo has closed captions or not
- (instancetype) initWithDictionary: |
|
(NSDictionary *) |
data |
embedCode: |
|
(NSString *) |
theEmbedCode |
api: |
|
(OOPlayerAPIClient *) |
theAPI |
|
|
| |
- (instancetype) initWithDictionary: |
|
(NSDictionary *) |
data |
embedCode: |
|
(NSString *) |
theEmbedCode |
parent: |
|
(OOChannel *) |
theParent |
api: |
|
(OOPlayerAPIClient *) |
theAPI |
|
|
| |
- (instancetype) initWithUnbundledStreams: |
|
(NSArray *) |
theStreams |
ads: |
|
(NSArray *) |
theAds |
|
|
| |
Initialize a OOVideo using the specified data (subclasses should override this)
- Parameters
-
[in] | unbundledVideo | defines the streams and ads to use initializing the OOVideo. |
Insert an OOAdSpot to play during this video.
- Parameters
-
ad | the OOAdSpot to play during this video |
Get the next OOVideo for this OOVideo from the parent.
- Returns
- nil if this is the last OOVideo or there is no parent, otherwise the next OOVideo
Get the previous OOVideo for this OOVideo from the parent.
- Returns
- nil if this is the first OOVideo or there is no parent, otherwise the previous OOVideo
- (BOOL) updateHighAvailabilityWithDictionary: |
|
(NSDictionary *) |
data |
|
- (OOReturnState) updateWithDictionary: |
|
(NSDictionary *) |
data |
|
- (OOVideo *) videoFromEmbedCode: |
|
(NSString *) |
embedCode |
withCurrentItem: |
|
(OOVideo *) |
currentItem |
|
|
| |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
|
readnonatomicassignprotected |
The OOVideo's Total Duration (Length)
|
readnonatomicassignprotected |
Whether or not the video is live.
|
readnonatomicassignprotected |
- (NSString*) defaultLanguageCode |
|
readnonatomicassign |
- (NSURL*) fairplayKeyURL |
|
readnonatomicassign |
If this is an offline Fairplay asset, this is where the Fairplay key is located.
Keeps track of the number of retries already done for a given error.
Used by the HA plugin to try an reset the video with the player.
The documentation for this class was generated from the following file: