Media ends trigger not working
Jan 27, 2014
In a part of a course I'm making, the user has to click a button which open a new layer with a video. I want to lock the scene so that the user cannot advance until the video plays all the way through, but I can seem to do this.
I've tried using timeline ends variables (resetting variable when timeline starts, adjusting it when it ends), but that does not work. I have also tried using the media completes trigger. Nothing is working. Either the user can skip through without watching the video, or once the video is complete they cannot progress through the course.
Anyone else have a similar problem or a solution to this?
7 Replies
Here is one option that uses a True/False variable which starts out as false and is set to True, once Media Completes (you could also use when the timeline ends). To prevent users from using the video player bar to skip ahead, I put a transparent shape over the progress bar. Then, add a condition to the Next button's trigger to only jump to the next slide if the variable is true: http://dev.keypointlearn.com/xcl71_SL/VideoPlayer/V2/story.html
I ended up just deleting the layer and having the video play on the first layer. Then made a condition to allow the user to go to the next slide if the media completed. I think the problem was that I had the video on a different layer.
Thank you for your answer! ^^
My video was on a layer too, but you use whatever solution works best for you.
Hi, I am wondering if your video is a video from file or is it embedded from a website like Vimeo or Youtube. When I embed a video from a website I cannot get a "when media completes" trigger to work. It doesnt allow me to select that video as the the media.
Hi Nathan,
When you're using a video on a website or as a web object it's not accessible by the Storyline triggers. It's treated as a separate element - so if you wanted to control it with triggers download it and insert as a standard video file type.
Thx for reply Ashley. Actually I started another thread about this yesterday and some guys provided me a good solution.
https://community.articulate.com/discussions/articulate-storyline/media-complete-trigger-not-working-for-website-video
Ah, awesome! Glad you got the help you needed.
This discussion is closed. You can start a new discussion or contact Articulate Support.