2 Replies
Curtis Wiens

You have to create a function that is listening for the video to end. We are using a standard video tag so for me it is:

<video id=myvid...rest of the tag goes here></video>

var vid = document.getElementById("myvid");

vid.onended = function() {
var player = parent.GetPlayer();
player.SetVar("videoEnd", 'yes');


In storyline you have a variable "videoEnd"  when changed to "yes" triggers next slide. I use String variables because I have had no luck getting Booleans true/false to work. 

.onended is what you would need to figure out for YouTube videos. Not sure it would be the same.