Packagedigicrafts.video
Classpublic class AbstractVideoPanel
InheritanceAbstractVideoPanel Inheritance flash.display.Sprite



Public Properties
 PropertyDefined by
  autoFullscreen : Boolean = false
autoFullscreen property detecmine if the video auto set to fullscreen when play
AbstractVideoPanel
  autoPlay : Boolean = true
autoPlay property detecmine if the video start to play when load
AbstractVideoPanel
  controlsEnabled : Boolean
Enable/disable controls
AbstractVideoPanel
  controlsTimeout : Number
Controls display timeout
AbstractVideoPanel
  isFullscreen : Boolean = false
isFullscreen property detecmine if it is in fullscreen mode
AbstractVideoPanel
  isMute : Boolean = false
isMute property detecmine if the sound is mute
AbstractVideoPanel
  isPlaying : Boolean = false
isPlaying property detecmine if the video is playing
AbstractVideoPanel
  source : String = ""
source property detecmine the source url/video of current video
AbstractVideoPanel
  volume : Number = 0
volume property detecmine the volume of current video
AbstractVideoPanel
Public Methods
 MethodDefined by
  
AbstractVideoPanel(width:Number, height:Number, controlsSkin:Class)
Constructor
AbstractVideoPanel
  
mute():void
Set current sound mute
AbstractVideoPanel
  
pauseVideo():void
Pause current video
AbstractVideoPanel
  
playVideo():void
Start playing current video
AbstractVideoPanel
  
seekTo(seconds:Number, allowSeekAhead:Boolean = false):void
AbstractVideoPanel
  
stopVideo():void
Stop playing current video
AbstractVideoPanel
  
unMute():void
Set current sound unmute
AbstractVideoPanel
Property detail
autoFullscreenproperty
public var autoFullscreen:Boolean = false

autoFullscreen property detecmine if the video auto set to fullscreen when play

The default value is false.

autoPlayproperty 
public var autoPlay:Boolean = true

autoPlay property detecmine if the video start to play when load

The default value is false.

controlsEnabledproperty 
controlsEnabled:Boolean  [read-write]

Enable/disable controls

Implementation
    public function get controlsEnabled():Boolean
    public function set controlsEnabled(value:Boolean):void
controlsTimeoutproperty 
controlsTimeout:Number  [read-write]

Controls display timeout

Implementation
    public function get controlsTimeout():Number
    public function set controlsTimeout(value:Number):void
isFullscreenproperty 
public var isFullscreen:Boolean = false

isFullscreen property detecmine if it is in fullscreen mode

The default value is false.

isMuteproperty 
public var isMute:Boolean = false

isMute property detecmine if the sound is mute

The default value is false.

isPlayingproperty 
public var isPlaying:Boolean = false

isPlaying property detecmine if the video is playing

The default value is false.

sourceproperty 
public var source:String = ""

source property detecmine the source url/video of current video

The default value is .

volumeproperty 
public var volume:Number = 0

volume property detecmine the volume of current video

The default value is false.

Constructor detail
AbstractVideoPanel()constructor
public function AbstractVideoPanel(width:Number, height:Number, controlsSkin:Class)

Constructor

Parameters
width:Number
 
height:Number
 
controlsSkin:Class
Method detail
mute()method
public function mute():void

Set current sound mute

pauseVideo()method 
public function pauseVideo():void

Pause current video

playVideo()method 
public function playVideo():void

Start playing current video

seekTo()method 
public function seekTo(seconds:Number, allowSeekAhead:Boolean = false):voidParameters
seconds:Number
 
allowSeekAhead:Boolean (default = false)
stopVideo()method 
public function stopVideo():void

Stop playing current video

unMute()method 
public function unMute():void

Set current sound unmute