The Video class lets you display live or recorded streaming video. The video may be a live video stream being captured with the Camera.get() command, or a live or recorded stream being displayed through the use of a NetStream.play() command. For information about what kind of video Flash Media Server supports, see the Technical Overview.
A Video object can be used like a movie clip. As with other objects that you place on the Stage, you can control various properties of Video objects. For example, you can move the Video object around on the Stage by using its _x and _y properties; you can change its size by using its _height and _width properties, and so on. For complete documentation about the Video class, see the Flash documentation.
To display the video stream, first place a Video object on the Stage. Then use Video.attachVideo() to attach the video stream to the Video object.
Place a Video object on the Stage in Flash:
Flash Communication Server 1; Flash Player 6.
|
Method |
Description |
|---|---|
|
Specifies a stream to be displayed within the boundaries of the Video object on the Stage. |
|
|
Clears the image currently displayed in the Video object. |
|
Property |
Description |
|---|---|
|
Specifies the behavior for the deblocking filter that the video compressor applies as needed when streaming the video. |
|
|
Read-only; the height in pixels of the video stream. |
|
|
Specifies whether the video should be smoothed (interpolated) when it is scaled. |
|
|
Read-only; the width in pixels of the video stream. |