rex_youtube_player
Plugin, ACE table, Discussion thread
Dependence: None
Dependence: None
Introduction
Play youtube video at iframe.
Play youtube video at iframe.
Usage
Sample capx
Sample capx
Auto play
Fill video id at property "Video ID", and set property "Autoplay" to "Yes" to auto play while youtube video buffered.
Fill video id at property "Video ID", and set property "Autoplay" to "Yes" to auto play while youtube video buffered.
Load video
Call "Action:Load video" to load video at run-time, it could auto play if set parameter "Play" to "Yes".
Call "Action:Load video" to load video at run-time, it could auto play if set parameter "Play" to "Yes".
Play or pause
Call "Action:Play" to play video after buffered, "Action:Pause" to pause.
Call "Action:Play" to play video after buffered, "Action:Pause" to pause.
Playback time
Call "Action:Set playback time" to set the current playback time in seconds. Get current playback time by "Expression:PlaybackTime". Get duration of current video by "Expression:Duration".
Call "Action:Set playback time" to set the current playback time in seconds. Get current playback time by "Expression:PlaybackTime". Get duration of current video by "Expression:Duration".
Play status
Check status of video by these conditions
Check status of video by these conditions
- Condition:Is playing
- Condition:Is paused
- Condition:Has ended
- Condition:Is muted
Volume
After loaded video, set volume by "Action:Set volume" or mute by "Action:Set muted". Get current volume by "Expression:Volume".
After loaded video, set volume by "Action:Set volume" or mute by "Action:Set muted". Get current volume by "Expression:Volume".
Control bar
Set property "Control bar" to "No" to disable control bar. But the video still could be paused or resumed by clicked.
Set property "Control bar" to "No" to disable control bar. But the video still could be paused or resumed by clicked.
Information
Set property "Show info" to "No" to hide information like title shown while mouse hover.
Set property "Show info" to "No" to hide information like title shown while mouse hover.
Keyboard control
Set property "Keyboard control" to "No" to disable keyboard control.
Set property "Keyboard control" to "No" to disable keyboard control.
Visible
Set "Initial visibility" to "Invisible" to hide this object initially. Call "Action:Set visible" to show this object.
Set "Initial visibility" to "Invisible" to hide this object initially. Call "Action:Set visible" to show this object.
Full screen
Sample capx
Call "Action:Set full screen mode" to enter or exit or toggle full screen mode. Note that "Enter full screen" can only be called under a user input, like "On touch start" event.
"Condition:Is full screen" returns true if current is in full screen mode.
Sample capx
Call "Action:Set full screen mode" to enter or exit or toggle full screen mode. Note that "Enter full screen" can only be called under a user input, like "On touch start" event.
"Condition:Is full screen" returns true if current is in full screen mode.
Full window
Sample capx
Call "Action:Full window" to enter or exit or toggle full window, which will set the position and size to fit the window.
"Condition:Is full window" returns true if current is set to full window.
Sample capx
Call "Action:Full window" to enter or exit or toggle full window, which will set the position and size to fit the window.
"Condition:Is full window" returns true if current is set to full window.