video Element

The video element describes a video object

Syntax

<video id="objectId" src="videoSource"
           [width="videoWidth"] [height="videoHeight"]
           [audioBitrate="audioQuality"] [videoBitrate="videoQuality"]
           [disabledAudio="isAudioDisabled"] [loop="isLoopVideo"]
/>

Attributes

Name

Description

Value type

Optional

Default Value

id

Object identifier

id

no

-

src

Path to the video file.

Use following notation for src attribute:
For resources located in local filesystem: "C:\My folder\sample.avi"
For web resources use HTTP URLs: "http://mysite.com/sample.avi"

string

no

-

width

Width of the video *

coordinate

yes

0

height

Height of the video.*

coordinate

yes

0

audioBitrate

Audio stream bitrate in Kbps, if audio stream exists.

audioBitrate

yes

128

videoBitrate

Sets video stream bitrate in Kbps

If not specified, source video bitrate will be used

integer

yes

-

disabledAudio

Enable/disable audio stream

boolean

yes

false

loop

Use this attribute, if you want to loop video

boolean

yes

false

* When specified, the width and height attributes will be used to resize a video during Flash movie generation. If the width and height attributes are not specified or set to "0" the video will be used with its original dimensions.

Parent Elements

objects collection

See Also

XML Schema Reference, objects collection.