Name | Type | Default | Description |
---|---|---|---|
width | number | 320 | optional |
height | number | 240 | optional |
Extends
- DisplayObject
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.media.Video
ビデオを自動再生するかどうかを指定します。
Specifies whether or not to auto-play the video.- Default Value:
- true
既にアプリケーションにロードされているデータのバイト数です。
The number of bytes of data that have been loaded into the application.- Default Value:
- 0
アプリケーションにロードされるファイルの総バイト数。
The total size in bytes of the file being loaded into the application.- Default Value:
- 0
現在のキーフレーム
Current keyframeキーフレーム総数
Total number of keyframesビデオをループ生成するかどうかを指定します。
Specifies whether or not to generate a video loop.- Default Value:
- false
指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.media.Video
ビデオを拡大 / 縮小する際にスムージング(補間)するかどうかを指定します。
Specifies whether the video should be smoothed (interpolated)
when it is scaled.- Default Value:
- true
映像コンテンツへの URL を指定します。
Specifies the URL to the video content.- Default Value:
- ""
ビデオストリームの高さをピクセル単位で指定する整数です。
An integer specifying the height of the video stream, in pixels.- Default Value:
- 320
ビデオストリームの幅をピクセル単位で指定する整数です。
An integer specifying the width of the video stream, in pixels.- Default Value:
- 240
ボリュームです。範囲は 0(無音)~ 1(フルボリューム)です。
The volume, ranging from 0 (silent) to 1 (full volume).- Default Value:
- 1
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class Video]
Returns:
Type Description string Video オブジェクトに現在表示されているイメージ(ビデオストリームではない)をクリアします。
Clears the image currently displayed
in the Video object (not the video stream).Returns:
Type Description void ビデオストリームの再生を一時停止します。
Pauses playback of a video stream.Returns:
Type Description void ローカルディレクトリまたは Web サーバーからメディアファイルを再生します。
Plays a media file from a local directory or a web server;Returns:
Type Description void 指定された位置に最も近いキーフレームをシークします。
Seeks the keyframe closest to the specified location.Name Type Description offset
number Returns:
Type Description void 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object Video]
Returns:
Type Description string