A even trigger to play and stop video

Chelsea beat me to the punch! :smile: …I started with something similar and then extended it with some different methods.

YouTube Video Test.rp (132.0 KB)

If you are using the inline frame method to show your video, the player controls should appear by default via the Youtube player or HTML5 player in your browser. Clicking on the video will play and pause as well as scrub through the timeline. However, if you are trying to directly control the video via Axure widgets, that can’t be done–at least not with Inline Frames, and not with Youtube videos.

If you are trying to autoplay a video, you can do so–and this works more reliably in the Firefox browser, not so much from Chrome anymore. Here is a recent thread on this:

There are some advanced settings to allow Chrome to support autoplay from specific sites, that you can Google search for more info.

If you want to directly control the video, you can do so with an unsupported hack of ā€œjavascript injectionā€ (so do not expect Axure Support to give you help on this.) See the MP4 video js page for a demonstration. Popular video sites like Youtube and Vimeo block this kind of thing, but it will work from a general web server or local file source. I’ve found that archive.org works well, and you can upload your own videos there.

1 Like