YouTube

Property

Function

Type

Url

Sets YouTube url address Actions editor: Property > YouTube > Url Code: widget.content.webVideoUrl

string

Loop

Looping the playback Actions editor: Property > YouTube > Loop Code: widget.content.loop

bool

Autoplay

Start playback automatically Actions editor: Property > YouTube > Autoplay Code: widget.content.autoplay

bool

Hd

Play in hd quality Actions editor: Property > YouTube > Hd Code: widget.content.hd

bool

Player vars

Sets player vars Actions editor: Property > YouTube > Player vars Code: widget.content.playerVars

string

Actions

Property

Function

Play

Actions editor: Actions > Common > Play Code: widget.content.script.actionPlay()

Stop

Actions editor: Actions > Common > Stop Code: widget.content.script.actionStop()

Pause

Actions editor: Actions > Common > Pause Code: widget.content.script.actionPause()

Next

Play next video in playlist Actions editor: Actions > Common > Next Code: widget.content.script.actionNext()

Prev

Play next prev in playlist Actions editor: Actions > Common > Prev Code: widget.content.script.actionPrev()

Play Video

Play video by number Actions editor: Actions > Common > Play Video Code: widget.content.script.actionPlayAt(int index)

Events

Property

Function

Play

Event when playing started Actions editor: Event > Play Code: widget.content.script.eventPlay()

Stop

Event when playing stopped Actions editor: Event > Stop Code: widget.content.script.eventStop()

Pause

Event when playing paused Actions editor: Event > Pause Code: widget.content.script.eventPause()

Video Changed

Event when current video is changed Actions editor: Event > Video Changed Code: widget.content.script.eventVideoChanged()

Last updated