Content:
- Properties
- Methods

Adds a video view into your app layout.

vw = ui.addVideoView( parent, url, options, width, height ) → ui object: VideoView

By default, the video will be resize relative to its dimensions. If you want the video to cover the entire width and height, pass "fill" in the options argument.

Here are the setter and getter properties for the VideoView component.

Here are the methods for the VideoView component.

Example - Simple video view click to expand contents 

Example - Video view callbacks click to expand contents 

Properties

The following properties are available on the VideoView object:

completedBoolean
durationNumber
loopBoolean
mutedBoolean
pausedBoolean
playedBoolean
seekingBoolean
speedNumber
urlString
volumeNumber

Methods

The following methods are available on the VideoView object:

capture( type, format ) → Object
load()
play()
stop()