Documentation in progress: please use the 3.4 Reference Manual.

Name

videoscreen

Synopsis

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

Superclass Chain

node (LzNode) » view (LzView) » videoscreen

Known Subclasses

Details

Properties (20)

aspectRatio
<attribute name="aspectRatio" value="${ this.sourceHeight / this.sourceWidth}" />
public var aspectRatio;
autoplay
<attribute name="autoplay" value="false" />
public var autoplay;
borderBottom
<attribute name="borderBottom" value="5" />
public var borderBottom;
borderLeft
<attribute name="borderLeft" value="5" />
public var borderLeft;
borderRight
<attribute name="borderRight" value="5" />
public var borderRight;
borderTop
<attribute name="borderTop" value="5" />
public var borderTop;
capturing
<attribute name="capturing" value="false" />
public var capturing;
innerHeight
<attribute name="innerHeight" value="${ this.height - (this.borderTop + this.borderBottom)}" />
public var innerHeight;
innerWidth
<attribute name="innerWidth" value="${ this.width - (this.borderLeft + this.borderRight)}" />
public var innerWidth;
sourceHeight
<attribute name="sourceHeight" value="480" />
public var sourceHeight;
sourceWidth
<attribute name="sourceWidth" value="720" />
public var sourceWidth;
type
<attribute name="type" type="string" value="http" />
public var type : String;
url
<attribute name="url" type="string" value="" />
public var url : String;
videoHeight
<attribute name="videoHeight" value="${ Math.min(this.innerHeight, this.innerWidth * this.aspectRatio)}" />
public var videoHeight;
videoPosX
<attribute name="videoPosX" value="0.5" />
public var videoPosX;
videoPosY
<attribute name="videoPosY" value="0.5" />
public var videoPosY;
videoWidth
<attribute name="videoWidth" value="${ Math.min(this.innerWidth, this.innerHeight / this.aspectRatio)}" />
public var videoWidth;
videoX
<attribute name="videoX" value="${ this.borderLeft + ((this.innerWidth - this.videoWidth) * this.videoPosX)}" />
public var videoX;
videoY
<attribute name="videoY" value="${ this.borderTop + ((this.innerHeight - this.videoHeight) * this.videoPosY)}" />
public var videoY;
volume
<attribute name="volume" value="1.0" />
public var volume;

LZX Synopsis

<class name="lz.videoscreen" extends=" LzView ">
  <attribute name=" aspectRatio " value="${ this.sourceHeight / this.sourceWidth}" />
  <attribute name=" autoplay " value="false" />
  <attribute name=" borderBottom " value="5" />
  <attribute name=" borderLeft " value="5" />
  <attribute name=" borderRight " value="5" />
  <attribute name=" borderTop " value="5" />
  <attribute name=" capturing " value="false" />
  <attribute name=" innerHeight " value="${ this.height - (this.borderTop + this.borderBottom)}" />
  <attribute name=" innerWidth " value="${ this.width - (this.borderLeft + this.borderRight)}" />
  <attribute name=" sourceHeight " value="480" />
  <attribute name=" sourceWidth " value="720" />
  <attribute name=" type " type="string" value="http" />
  <attribute name=" url " type="string" value="" />
  <attribute name=" videoHeight " value="${ Math.min(this.innerHeight, this.innerWidth * this.aspectRatio)}" />
  <attribute name=" videoPosX " value="0.5" />
  <attribute name=" videoPosY " value="0.5" />
  <attribute name=" videoWidth " value="${ Math.min(this.innerWidth, this.innerHeight / this.aspectRatio)}" />
  <attribute name=" videoX " value="${ this.borderLeft + ((this.innerWidth - this.videoWidth) * this.videoPosX)}" />
  <attribute name=" videoY " value="${ this.borderTop + ((this.innerHeight - this.videoHeight) * this.videoPosY)}" />
  <attribute name=" volume " value="1.0" />
</class>

JavaScript Synopsis

public lz.videoscreen extends  LzView  {
  public var aspectRatio ;
  public var autoplay ;
  public var borderBottom ;
  public var borderLeft ;
  public var borderRight ;
  public var borderTop ;
  public var capturing ;
  public var innerHeight ;
  public var innerWidth ;
  public var sourceHeight ;
  public var sourceWidth ;
  public var type  : String;
  public var url  : String;
  public var videoHeight ;
  public var videoPosX ;
  public var videoPosY ;
  public var videoWidth ;
  public var videoX ;
  public var videoY ;
  public var volume ;
}