Description
A component that can play web videos
Property
Component Property Name | Property Description |
---|---|
isSync | Specifies whether to synchronize or not. If it is set to true, the same video of the owner will be played back in the same progress on each player. Otherwise, the video will be played back only locally. Note: Even for local playback, ownership needs to be obtained before operations are performed on this object. |
strVideoUrl | You can enter the video URL here and plays the video during runtime. |
Public Methods
ChangeVideoUrl | Switches to the new video address |
PlayVideo | Plays back the current video. |
PlayVideo(int index) | Plays the nth video. |
PauseVideo | Pauses the current video |
Restart | Replays the video |
SetTime | Sets the playback progress to the X second |
Rewind | Sets the playback progress back X seconds |
Forward | Sets the playback progress forward for X seconds |
IncreaseVolume | Increases the volume of the video |
DecreaseVolume | Decreases the volume of the video |
ShowVideoPreView | Opens the Youtube panel. |
CloseVideoPreView | Closes the Youtube panel. |