StageVideo for working with native video objects. Supported only on android and iOS now. Dispatches StageVideEvents


Inherited from EventDispatcher


Can be received from stage:

Lib.Media.Display.stage.stageVideos[1]


has properties:

colorSpaces

Returns the names of available color spaces for this video surface.

read-only, always one element in array "BT.709"

depth

The depth level of a StageVideo object relative to other StageVideo objects.

not supported, 0

videoHeight

An integer specifying the height of the video stream, in pixels.

read-only, int

videoWidth

An integer specifying the width of the video stream, in pixels.

read-only, int

duration

loaded video duration

read-only, float

viewPort

you can specify video view port from Rectangle object


pan

The pan setting for displaying the video, specified as a Point object


zoom

The zoom setting of the video, specified as a Point object



methods:

attachNetStream(netstream)

Specifies a video stream to be displayed within the boundaries of the StageVideo object in the application.

netstream - NetStream object


Examples:


stage = Lib.Media.Display.stage

video = stage.stageVideos[1]

Created with the Personal Edition of HelpNDoc: Free help authoring environment