BCOVVideoProtocol Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | BrightcovePlayerSDK-Swift.h |
Overview
A video in the Brightcove Player SDK ecosystem. Brightcove organizes content into entities called videos, which may have zero or more sources containing information specific to accessing the content. The video provides a container for referencing these sources in the aggregate, and a place for metadata about the video or the collection of sources in the form of properties. Also, a video may have a cue point collection, which is a set of cue points that describe specific locations in the video’s content timeline.
cuePoints
required method
The cue points associated to this video. These cue points apply equally to the content at each of this video’s sources.
@property (nonatomic, readonly, strong) BCOVCuePointCollection *cuePoints
Discussion
The cue points associated to this video. These cue points apply equally to the content at each of this video’s sources.
Declared In
BrightcovePlayerSDK-Swift.h
properties
required method
Metadata or properties related to this video or its sources in the aggregate. You can find constants for the keys that this SDK uses with this dictionary near the top of this class definition.
@property (nonatomic, readonly, copy) NSDictionary *properties
Discussion
Metadata or properties related to this video or its sources in the aggregate. You can find constants for the keys that this SDK uses with this dictionary near the top of this class definition.
Declared In
BrightcovePlayerSDK-Swift.h
economics
required method
The economics field that comes from Video Cloud. BCOVEconomics.AdSupported is the default, and means that the ads should be displayed. BCOVEconomics.Free means that no ads should be shown during video playback.
@property (nonatomic, readonly) enum BCOVEconomics economics
Discussion
The economics field that comes from Video Cloud. BCOVEconomics.AdSupported is the default, and means that the ads should be displayed. BCOVEconomics.Free means that no ads should be shown during video playback.
Declared In
BrightcovePlayerSDK-Swift.h
sources
required method
The sources which comprise the actual destinations at which this video’s content can be accessed.
@property (nonatomic, readonly, copy) NSArray<BCOVSource*> *sources
Discussion
The sources which comprise the actual destinations at which this video’s content can be accessed.
Declared In
BrightcovePlayerSDK-Swift.h
thumbnailVTTURL
required method
The URL at which this video’s VTT thumbnails source is available.
This value overrides any thumbnails VTT track that the SDK uses
from a PAPI response.
The value will be nil
if you have not set a value.
@property (nonatomic, readonly, copy) NSURL *thumbnailVTTURL
Discussion
The URL at which this video’s VTT thumbnails source is available.
This value overrides any thumbnails VTT track that the SDK uses
from a PAPI response.
The value will be nil
if you have not set a value.
Declared In
BrightcovePlayerSDK-Swift.h
– update:
required method
returns:
The copy of this video modified by updateBlock
.
- (BCOVVideo *_Nonnull)update:(SWIFT_NOESCAPE void ( ^ _Nonnull ) ( BCOVMutableVideo *_Nonnull ))updateBlock
Discussion
returns:
The copy of this video modified by updateBlock
.
Declared In
BrightcovePlayerSDK-Swift.h