This component is designed for use with layouts as a wrapper for a video player and its various controls. It provides a configurable object that allows easy customization of color and style of the controls.
Constants
Name | Value | Description |
---|---|---|
AUTO_PLAY_ALL | Auto Play All | |
AUTO_PLAY_CUSTOM | Auto Play Duration | |
AUTO_PLAY_SECONDS_NAME | autoPlaySeconds | |
CLICK_TO_PLAY | Click to Play |
Properties
Name | Type | Description | Default |
---|---|---|---|
videoControls | ConfigurableVideoControlBar | null | |
videoTransform | ConfigurableVideoTransform | null |
Constructors
ConfigurableVideoPlayer()
:
void
Instance Methods
Defined in com.google.ads.studio.video:ConfigurableVideoPlayer
getControls()
:
ConfigurableVideoControlBar
Returns the controls associated with this player.
getPlayerBounds()
:
Rectangle
Gets the bounds of the video player.
overrideConfigurableBounds(bounds:flash.geom:Rectangle)
:
void
Sets the transform bounds, ignoring the bounds set via configurable. You can revert back to the configurable bounds using #revertToConfigurableBounds().
removeAutoPlayLimit(event:flash.events:Event=null)
:
void
Removes the auto play limit if there is one.
revertToConfigurableBounds()
:
void
Reverts back from any overridden bounds to the configurable bounds set via the filler.
unload(event:flash.events:Event=null)
:
void
Unloads the configurable video player and preps it for garbage collection as well as possible. The video player is responsible for unloading itself.
updateDisplay()
:
void
Updates the display of the player and its controls.