Forum Discussion
Embedded YouTube video, next button & Javascript
You have to use Javascript to call the WebObject and set a variable to progress to the next slide. Without some basic knowledge of Javascript, HTML5 and how to use it in Storyline...it will be tough to get working...
- SamanthaBerg3 years agoCommunity Member
Thanks for reply, I fully understand that you have to use JavaScript to call the WebObject and set a variable. I am asking for some help on how this is done. An expert in anything was once a beginner.
- SteveGannon3 years agoCommunity Member
Samantha,
If you carefully review this blog article and study the sample file provided, you can learn how to control YouTube videos via JavaScript from within Storyline:
https://www.rabbitoreg.com/2016/01/09/full-control-over-youtube-video-in-storyline/
In particular, near the end of the article (and in the code) you will see how the author used a custom variable called "End" to trigger a layer when the video ends. In your case, you could use this same variable with a trigger to activate your Next button.