If you have SL2, you can attach triggers to the player. Don't select anything on the slide and create a trigger. It will be a "free floating" trigger. Set it to show layer when the timeline reaches XX seconds.
Walt's suggestion will work for revealing the layer if the user plays the video right from the start, but it doesn't guarantee that they are actually going to the video link. Unfortunately, there isn't a way to directly tie a trigger to a web object in Storyline.
You may be able to accomplish this using JavaScript, but that isn't something we support. You can see additional some best practice for JavaScript here. As noted in our JavaScript best practices article, there is limited to no JavaScript support for HTML5 published content.
Another thought is if you have permission, you could download and insert the video into your course directly and then tie a trigger to show the layer when the video completes. If your LMS can handle it, I recommend inserting the videos directly. This also minimizes playback issues you may encounter on your users' side. Many companies block YouTube and Vimeo. Of course the Storyline file will take longer to save and load. But the wait isn't that long if you have a fast machine.
If none of these options will work for you, please feel free to send us a feature request for this with specific system variables you'd like to see and examples of how they could be used.
7 Replies
Hi Jaipal,
The best way to do this is by using a trigger on a shape offstage. You can see details and an example .story file in this thread.
Hope this helps.
If you have SL2, you can attach triggers to the player. Don't select anything on the slide and create a trigger. It will be a "free floating" trigger. Set it to show layer when the timeline reaches XX seconds.
Hi all,
Actually I want to show a layer after completing the video (through web object or streaming server).
Please show end layer after completing the video.
story file is attached for your reference.
Thanks.
Hi Jaipal,
Walt's suggestion will work for revealing the layer if the user plays the video right from the start, but it doesn't guarantee that they are actually going to the video link. Unfortunately, there isn't a way to directly tie a trigger to a web object in Storyline.
You may be able to accomplish this using JavaScript, but that isn't something we support. You can see additional some best practice for JavaScript here. As noted in our JavaScript best practices article, there is limited to no JavaScript support for HTML5 published content.
Another thought is if you have permission, you could download and insert the video into your course directly and then tie a trigger to show the layer when the video completes. If your LMS can handle it, I recommend inserting the videos directly. This also minimizes playback issues you may encounter on your users' side. Many companies block YouTube and Vimeo. Of course the Storyline file will take longer to save and load. But the wait isn't that long if you have a fast machine.
If none of these options will work for you, please feel free to send us a feature request for this with specific system variables you'd like to see and examples of how they could be used.
Hope you find this helpful.
The sample video you linked to in the attached story will only load for me in a new browser window, and I suspect many others are the same way.
The attached story shows how I would approach it.
Thanks Bret,
For your valuable feedback.
We will send the feature request.
Jaipal
Thanks Walt for your effort.
But it doesn't meet our requirements.
Jaipal
This discussion is closed. You can start a new discussion or contact Articulate Support.