ParaVideoPlayer

Description

A component that can play web videos

Property

Component Property NameProperty Description
isSyncSpecifies 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.
strVideoUrlYou can enter the video URL here and plays the video during runtime.

Public Methods

ChangeVideoUrlSwitches to the new video address
PlayVideoPlays back the current video.
PlayVideo(int index)Plays the nth video.
PauseVideoPauses the current video
RestartReplays the video
SetTimeSets the playback progress to the X second
RewindSets the playback progress back X seconds
ForwardSets the playback progress forward for X seconds
IncreaseVolumeIncreases the volume of the video
DecreaseVolumeDecreases the volume of the video
ShowVideoPreViewOpens the Youtube panel.
CloseVideoPreViewCloses the Youtube panel.