Detecting end of Wistia video with javascript
Jun 02, 2015
By
Mike B.
The Wistia video streaming service (like Vimeo) has an API that allows one to act on events in the video, such as when the video ends. I'd eventually like to get this code to change a SL variable, which will allow my trigger to advance the course to the next slide. At this point, I can't even get the "alert" window to popup at the end of the video.
I've attached my .story file below. Can someone proficient in javascript take a look to see if I've done something obviously wrong?
Here's the link to the documentation from Wistia: http://wistia.com/doc/player-api
Thanks,
Mike
26 Replies
Thank you to all of you who provided a solution to this, it works wonderfully!
This discussion is closed. You can start a new discussion or contact Articulate Support.