Package | artcustomer.framework.engines.layers |
Class | public class LayerVideo |
Inheritance | LayerVideo flash.events.EventDispatcher |
Implements | ILayer |
Method | Defined By | ||
---|---|---|---|
Constructor
| LayerVideo | ||
destroy():void
Destroy LayerVideo. | LayerVideo | ||
onCuePoint(info:Object):void
Client : On Cue Point. | LayerVideo | ||
onMetaData(info:Object):void
Client : On MetaData received. | LayerVideo | ||
onPlayStatus(info:Object):void
Client : On Play Status. | LayerVideo | ||
onRender():void
Called when RenderEngine is rendering. | LayerVideo | ||
onResize():void
Called when player window is resized. | LayerVideo | ||
onXMPData(info:Object):void
Client : On XMPData received. | LayerVideo | ||
pause():void
Pause current stream if playing. | LayerVideo | ||
play(stream:String):void
Play Stream on StageVideo. | LayerVideo | ||
ready():void
Call when StageVideo is available and ready. | LayerVideo | ||
resume():void
Resume current stream if playing. | LayerVideo | ||
seekByStep(step:Number):void
Seek stream by step. | LayerVideo | ||
seekOffset(offset:Number):void
Seek stream by offset. | LayerVideo | ||
setScaleSize(size:int, scaleType:String):void
Set video scaled size if scaleOnStage property is false. | LayerVideo | ||
setSize(width:int, height:int):void
Set video size if scaleOnStage property is false. | LayerVideo | ||
setup():void
Setup LayerVideo. | LayerVideo | ||
setVolume(value:Number):void
Set sound volume. | LayerVideo | ||
setVolumeByStep(step:Number):void
Set sound volume by step. | LayerVideo | ||
stop():void
Stop current stream if playing. | LayerVideo | ||
toggle():void
Toggle current stream if playing. | LayerVideo |
Event | Summary | Defined By | ||
---|---|---|---|---|
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo | ||||
LayerVideo |
LayerVideo | () | Constructor |
public function LayerVideo()
Constructor
destroy | () | method |
public function destroy():void
Destroy LayerVideo. Must be overrided and call at last in child.
onCuePoint | () | method |
public final function onCuePoint(info:Object):void
Client : On Cue Point.
Parameters
info:Object |
onMetaData | () | method |
public final function onMetaData(info:Object):void
Client : On MetaData received.
Parameters
info:Object |
onPlayStatus | () | method |
public final function onPlayStatus(info:Object):void
Client : On Play Status.
Parameters
info:Object |
onRender | () | method |
public final function onRender():void
Called when RenderEngine is rendering. Don't call it !
onResize | () | method |
public final function onResize():void
Called when player window is resized. Don't call it !
onXMPData | () | method |
public final function onXMPData(info:Object):void
Client : On XMPData received.
Parameters
info:Object |
pause | () | method |
public final function pause():void
Pause current stream if playing.
play | () | method |
public final function play(stream:String):void
Play Stream on StageVideo.
Parameters
stream:String |
ready | () | method |
public function ready():void
Call when StageVideo is available and ready. Must be overrided and used to start playing video.
resume | () | method |
public final function resume():void
Resume current stream if playing.
seekByStep | () | method |
public final function seekByStep(step:Number):void
Seek stream by step.
Parameters
step:Number |
seekOffset | () | method |
public final function seekOffset(offset:Number):void
Seek stream by offset.
Parameters
offset:Number |
setScaleSize | () | method |
public final function setScaleSize(size:int, scaleType:String):void
Set video scaled size if scaleOnStage property is false.
Parameters
size:int | |
scaleType:String — : 'scaleOnWidth' / 'scaleOnHeight' on LayerVideoScaleType.
|
setSize | () | method |
public final function setSize(width:int, height:int):void
Set video size if scaleOnStage property is false.
Parameters
width:int | |
height:int |
setup | () | method |
public function setup():void
Setup LayerVideo. Must be overrided and called at first in child.
setVolume | () | method |
public final function setVolume(value:Number):void
Set sound volume.
Parameters
value:Number — : Between 0 and 1
|
setVolumeByStep | () | method |
public final function setVolumeByStep(step:Number):void
Set sound volume by step.
Parameters
step:Number — : Between 0 and 1
|
stop | () | method |
public final function stop():void
Stop current stream if playing.
toggle | () | method |
public final function toggle():void
Toggle current stream if playing.
layerVideoAvailable | Event |
layerVideoBufferEmpty | Event |
layerVideoBufferFlush | Event |
layerVideoBufferFull | Event |
layerVideoChangeVolume | Event |
layerVideoDestroy | Event |
layerVideoError | Event |
layerVideoMetaDataReceived | Event |
layerVideoOnStream | Event |
layerVideoPauseStream | Event |
layerVideoPlayStream | Event |
layerVideoReady | Event |
layerVideoRender | Event |
layerVideoResumeStream | Event |
layerVideoSetup | Event |
layerVideoStopStream | Event |
layerVideoStreamNotFound | Event |