MediaUnit Fields |
The MediaUnit type exposes the following members.
Name | Description | |
---|---|---|
![]() | _absoluteDuration | (Inherited from MediaEvent.) |
![]() | _endPoint | (Inherited from MediaEvent.) |
![]() | _positionedDynamicEvents | |
![]() | _relativeEndPoint | (Inherited from MediaEvent.) |
![]() | _relativeStartPoint | (Inherited from MediaEvent.) |
![]() | _startPoint | (Inherited from MediaEvent.) |
![]() | canReplay |
Defines whether the player can replay the current unit or not after it has ended in the playlist.
|
![]() | controlsDisplay |
Defines how the controls bar will be displayed for the unit. See MediaUnitMediaControlsDisplay for possible values.
|
![]() | controlsParameters |
The configuration for the controls bar overlay. Construct this using the configureFromDictionary() method of MediaBuilder.
|
![]() | controlStyle |
Used to set the style of the controls
|
![]() | debug |
Toggle to enable logs.
|
![]() | displayFirstFrame |
Specifies if the first frame of the unit should be displayed until the unit is played
|
![]() | dynamicPosition | (Inherited from MediaEvent.) |
![]() | initialPlaybackTime |
Initial video playback time in seconds.
|
![]() | loaded | (Inherited from MediaEvent.) |
![]() | manager |
The associated registered unit manager of this unit (for example the Marlin Unit Manager for DRM encoding.)
|
![]() | metadata |
A Dictionary containing the metadata associated with the unit.
|
![]() | midcontentAdMinimumFinalOffset |
For ad breaks assigned to this unit without an ad offset (breaks that should be auto-positioned within the content), this parameter defines the minimum time interval in seconds (relative to the end of the video) that should be ad-free. Defaults to 300 seconds.
|
![]() | midcontentAdMinimumInitialOffset |
For ad breaks assigned to this unit without an ad offset (breaks that should be auto-positioned within the content), this parameter defines the minimum time interval in seconds to wait before displaying the first ad batch. Defaults to 300 seconds.
|
![]() | midcontentAdMinimumSpacing |
For ad breaks assigned to this unit without an ad offset (breaks that should be auto-positioned within the content), this parameter defines the minimum time interval in seconds to wait between ad batches. Defaults to 300 seconds.
|
![]() | pinchToFullscreen |
Defines if pinch-to-fullscreen should be allowed.
|
![]() | played | |
![]() | preloadInterval |
Defines the number of seconds before the scheduled start point when the event
should receive the preload call.
(Inherited from MediaEvent.) |
![]() | preloadPoint |
Set by the player to the current playback time in seconds, after the current event
begins preloading. Defaults to -1 if the event did not start preloading.
(Inherited from MediaEvent.) |
![]() | renderer |
The renderer associated with this unit.
|
![]() | repeatAfter |
If this parameter is greater than 0, then the event will be retriggered by the
MediaPlayer after the specific time interval (in seconds).
(Inherited from MediaEvent.) |
![]() | seekHandling |
Defines how mid content ads should be handled when the user has skipped over several batches. Use this parameter to instruct the player to render: only the first ad batch, only the last ad batch or all passed ad batches. Defaults to `APSHandleSeekEventPlayLastBreak`.
|
![]() | shouldAutoplay |
Defines if the unit should start playing as soon as it loads or wait for a play command.
|
![]() | sourceAdBreak | |
![]() | timeout |
Defines the maximum number of seconds the event is allowed to live once it has been
pretriggered, without setting the loaded property to true.
(Inherited from MediaEvent.) |
![]() | trackingURLs |
This dictionary defines all URLs that need to be notified of specific events from the object's lifecycle. The keys are event constants, as defined in MediaPlayer (Inherited from MediaTrackableObject.) |
![]() | url |
The video clip URL.
|