DoubleClick Studio AS3 API Reference

class com.google.ads.studio.video.ConfigurableVideoPlayer

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

NameValueDescription
AUTO_PLAY_ALLAuto Play All
AUTO_PLAY_CUSTOMAuto Play Duration
AUTO_PLAY_SECONDS_NAMEautoPlaySeconds
CLICK_TO_PLAYClick to Play

Properties

NameTypeDescriptionDefault
videoControlsConfigurableVideoControlBarnull
videoTransformConfigurableVideoTransformnull

Constructors

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.

Expand
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().

Expand
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.

Expand
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.

Back to top

  1. com.google.ads.studio
    1. AssetLoader
    2. ContextualDiscovery
    3. F2fEnabler
    4. FullScreenButton
    5. HtmlEnabler
    6. ProxyEnabler
    7. VpaidEnabler
  1. com.google.ads.studio.configurable
    1. Configurable
  1. com.google.ads.studio.display
    1. StudioLoader
  1. com.google.ads.studio.events
    1. StudioEvent
    2. StudioVideoEvent
  1. com.google.ads.studio.expanding
    1. Expanding
  1. com.google.ads.studio.localconnect
    1. LocalConnectWrapper
  1. com.google.ads.studio.video
    1. ConfigurableVideoPlayer
    2. EnhancedVideoController
    3. PlayPauseButton
    4. Playlist
    5. Scrubber
    6. SoundToggleButton
    7. VideoController
    8. VideoEntry
    9. VideoPlayer
    10. VideoPlayerAdvanced
  1. com.google.ads.studio.vpaid
    1. VpaidTimer