<videoview>
Allows video playback.

JavaScript: lz.videoview
extends <view> » <node> » lz.Eventable »

<videoview> allows applications to play video from HTTP or RTMP servers.

<canvas>
            <videoview url="http://www.archive.org/download//JudgeMediaTestVideoFile_0/video.flv" type="http" autoplay="true" width="320" height="240"/>
            </canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
autoplay expression any false read/write
  If true, video will start playing as soon as url is set.
buffertime expression any 0 read/write
  If true, video will start playing as soon as url is set.
cam expression any null readonly
  The camera object.
debug expression any false read/write
  If true, Debug.write extra stuff (this may go away).
mic expression any null readonly
  The microphone object.
playvolume expression any 1.0 read/write
  The volume for video playback, a float from 0 to 1.
starttime number Number 0 read/write
  Show the frame from this time (in seconds) whenever the url is set for video playback. Use -1 to show no frame (which will leave the image as it was when switching videos)
stream expression any false read/write
  The mediastream object. A mediastream will be automatically generated if one is not specified at init time.
type string String http read/write
  Protocol "rtmp" or "http".
url string String   read/write
  The url of the video, may be a relative URL, for example: "http://localhost/myvideo.flv", or simply "myvideo.flv". When type="rtmp", the url is always relative the rtmpconnection. (Use only when you are not explicitly declaring the mediastream.)

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy