1- First you need to trigger an action within your video.To Trigger an action within a video you can
- Add an on click action to an "Image" element inside video with the action type "Execute Custom Callback"
- Add an on click action to an "Clickable Area" element inside video with the action type "Execute Custom Callback"
- Add a "Conditional Action" element and assign an "Execute Custom Callback" action type to your condition.
- Add an "Action" element and assign an "Execute Custom Callback" action type to your action on timeline.
You can download a running example from Cinema8 Github account.