Name

videoview

Synopsis

LZX: videoview
JavaScript: videoview
Type: Class
Access: public
Topic: Extensions.Audio-Video
Declared in: lps/components/extensions/av/videoview.lzx

Superclass Chain

node (LzNode) » view (LzView) » videoview

Known Subclasses

Details

Properties (8)

autoplay
<attribute name="autoplay" value="false" />
public var autoplay;
If true, video will start playing as soon as url is set. Default: false.
cam
<attribute name="cam" value="null" />
public read-only var cam;
The camera object.
debug
<attribute name="debug" value="false" />
public var debug;
If true, Debug.write extra stuff (this may go away).
mic
<attribute name="mic" value="null" />
public read-only var mic;
The microphone object.
playvolume
<attribute name="playvolume" value="1.0" />
public var playvolume;
The volume for video playback, a float from 0 to 1. Default 1.
stream
<attribute name="stream" value="null" />
public var stream;
The mediastream object.
type
<attribute name="type" type="string" value="http" />
public var type : String;
Protocol "rtmp" or "http". Default: http.
url
<attribute name="url" type="string" value="" />
public var url : String;
The url of the mediastream, maybe a relative URL, for example: "http://localhost/myvideo.flv", or simply "myvideo.flv". When type="rtmp", the url is always relative the the rtmpconnection. (Use only when you are not explicitly declaring the mediastream.)

LZX Synopsis

<class name="videoview" extends=" LzView ">
  <attribute name=" autoplay " value="false" />
  <attribute name=" cam " value="null" />
  <attribute name=" debug " value="false" />
  <attribute name=" mic " value="null" />
  <attribute name=" playvolume " value="1.0" />
  <attribute name=" stream " value="null" />
  <attribute name=" type " type="string" value="http" />
  <attribute name=" url " type="string" value="" />
</class>

JavaScript Synopsis

public videoview extends  LzView  {
  public var autoplay ;
  public read-only var cam ;
  public var debug ;
  public read-only var mic ;
  public var playvolume ;
  public var stream ;
  public var type  : String;
  public var url  : String;
}