Plugin : Youtube player
Author:Rex.Rainbow
- Play youtube video at iframe.
Download
Properties
Video ID
Autoplay
- Start playing upon buffered.
Looping
- Restart video after ended.
Control bar
- Enable control bar or not.
Show info
- Enable to show video information
Modest branding
- Enable to remove youtube logos
Keyboard control
- Enable to control video by keyboard.
Play in background
- Keep playing even when the tab or app goes in to the background.
Initial visibility
- Choose whether the text box is visible on startup.
- Options : ["Invisible","Visible"]
Actions
Appearance
Action:Set visible
- Hide or show this object.
- Visibility ( Combo ) : Choose whether to hide or show this object.
- Options : ["Invisible","Visible"]
Full screen
Action:Set full screen mode
- Enter or exit full screen mode. "Enter full screen" can only be called under a user input.
- Command ( Combo ) : Enter or exit, or toggle fullscreen mode.
- Options : ["Exit","Enter","Toggle"]
Size
Action:Full window
- Enter or exit full window.
- Command ( Combo ) : Enter or exit, or toggle fullscreen mode.
- Options : ["Exit","Enter","Toggle"]
Video
Action:Load video
- Load video with ID.
- Video ID ( string ) : Video ID.
- Play ( Combo ) : Start playing upon buffered.
Action:Set playback time
- Set the current playback time in seconds.
- Time ( number ) : Playback time in seconds to seek to.
Action:Set looping
- Set whether the video loops when it reaches the end.
- Mode ( Combo ) : Whether or not the video should loop when it reaches the end.
- Options : ["not looping","looping"]
Action:Set muted
- Set whether the audio is muted.
- Mode ( Combo ) : Whether or not the audio should be muted.
- Options : ["not muted","muted"]
Action:Set volume
- Set the volume of the accompanying audio.
- Volume ( number ) : The volume of the audio to set, from 0 to 100.
Action:Pause
- Pause the current playback.
Action:Play
- Start playing the video if stopped or paused. On mobile, may only work in a user input trigger.
Expressions
Debug
Expression:VideoState
Video
Expression:PlaybackTime
- Current playback time, in seconds.
Expression:Duration
- Video duration in seconds, if known.
Expression:Volume
- Current video volume in dB attenuation.
Expression:ErrorCode
Conditions
Full screen
Condition:Is full screen
- True if video is in full screen mode.
Full window
Condition:Is full window
- True if video is in full window.
Initial
Condition:On player ready
- Triggered when player ready.
Mouse
Condition:On mouse over
- Triggered when mouse over.
Video
Condition:Is playing
- True if video is currently playing.
Condition:Is paused
- True if video is currently paused.
Condition:Has ended
- True if video has finished playing.
Condition:Is muted
- True if video sound is muted.
Condition:On playback event
- Triggered when a playback event occurs.
- Event ( Combo ) : The playback event to check for.
- Options : ["Unstarted","Ended","Playing","Paused","Buffering","Video cued"]
Condition:Compare playback time
- Compare current playback time.
- Comparison ( cmp ) : Choose the way to compare the distance travelled.
- Playback time ( number ) : Current playback time, in seconds.
Condition:On player error
- Triggered when player has error.