Video Reference
Collaborate with us
Edit this page on GitHub
Layout and Classes
Advanced Use Case
Use custom Play and Pause buttons
-
Set a name to the Video pattern.
-
Create Play and Pause actions on the screen.
-
In the Logic tab, click on the OutSystems UI Web to go to the Video Folder.
-
Drag the PlayVideo and PauseVideo actions inside the Play and Pause actions you created.
-
For each server action, set the WidgetId parameter to the name of the Video pattern.
-
Create the elements you want to act as buttons. You can also wrap icons around containers and set the OnClick to the Play and Pause actions.
-
Publish and test.