Forum Discussion
Question about video controls
It’s difficult to achieve this using triggers alone. Storyline doesn’t provide a built-in way to detect whether the video is playing or paused, or if the built-in play/pause button has been clicked. While you can control media playback with triggers (play, pause, or stop), you can't trigger other actions based on the video's state.
To detect whether the video is playing or paused, you'll need to use JavaScript. In the example below, a custom play/pause button is synchronized with the built-in video controls, allowing them to react to each other.
If you prefer to avoid using JavaScript, I highly recommend Elizabeth’s solution instead.
- MadihaS4 months agoCommunity Member
Very interesting. Thanks for sharing Nadim. I think for now the simpler solution will work but I'll keep this option in mind. Thank you.
Related Content
- 10 months ago
- 7 months ago
- 8 months ago