Package | digicrafts.video |
Class | public class AbstractVideoPanel |
Inheritance | AbstractVideoPanel flash.display.Sprite |
Property | Defined 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 |
Method | Defined 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 |
autoFullscreen | property |
public var autoFullscreen:Boolean = false
autoFullscreen property detecmine if the video auto set to fullscreen when play
The default value is false
.
autoPlay | property |
public var autoPlay:Boolean = true
autoPlay property detecmine if the video start to play when load
The default value is false
.
controlsEnabled | property |
controlsEnabled:Boolean
[read-write]Enable/disable controls
Implementation public function get controlsEnabled():Boolean
public function set controlsEnabled(value:Boolean):void
controlsTimeout | property |
controlsTimeout:Number
[read-write]Controls display timeout
Implementation public function get controlsTimeout():Number
public function set controlsTimeout(value:Number):void
isFullscreen | property |
public var isFullscreen:Boolean = false
isFullscreen property detecmine if it is in fullscreen mode
The default value is false
.
isMute | property |
public var isMute:Boolean = false
isMute property detecmine if the sound is mute
The default value is false
.
isPlaying | property |
public var isPlaying:Boolean = false
isPlaying property detecmine if the video is playing
The default value is false
.
source | property |
public var source:String = ""
source property detecmine the source url/video of current video
The default value is .
volume | property |
public var volume:Number = 0
volume property detecmine the volume of current video
The default value is false
.
AbstractVideoPanel | () | constructor |
public function AbstractVideoPanel(width:Number, height:Number, controlsSkin:Class)
Constructor
Parameterswidth:Number |
|
height:Number |
|
controlsSkin:Class |
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):void
Parameters
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