advance to next slide when YouTube media completes-won't advance

Apr 01, 2015

Hi all,

Trying to embed youtube video in storyline2, have trigger set to advance slide when media completes, but it won't, checked on the storyline and it shows automatic and correct trigger as well. I tried when "timeline ends" but if the user pauses the video for any reason, the timeline expires and advances the slide without completing the video.  Any ideas?  Thanks---Jeff

 

18 Replies
Ashley Terwilliger-Pollard

Hi Suzy,

YouTube recently changed their API structure causing difficulty with using the embed code, so we'd recommend inserting as a web object as that'll allow you to continue to use the videos even if YouTube changed something again once the course is published. You can read more about that here.  

Also, if you're using a web object, you won't be able to control it with triggers as Storyline can't read from the web object's timing or other elements. 

Suzy Shaw

So what your saying is as a web object, when the video is finished it won't automatically advance to the next slide, right? Is there a work around?  Right now I'm embedding the video, but it's a big project and YouTube streams videos better than then embedded videos.

To see what the project looks like with the embedded video you can go to my test site http://hiv.lightindustries.com

Ashley Terwilliger-Pollard

Hi Suzy, 

Correct. If you need to advance the slide automatically, you could look at setting the overall timeline of the slide to match the length of your video and advance based on that timeline - but there isn't a guarantee that the user won't pause the web object and therefore miss elements based on automatically advancing. 

Leslie McKerchie

Hi Michael,

The YouTube will be a web object, which means it's not on the same timeline as your slide since it's an outside object. In addition, your timeline will not be 'progressing' while you are not active in that window, so even a trigger tied to the timeline may not work well as Ashley explained above. In short, you may be right.

I'm curious how others may have met such a requirement and look forward to seeing the replies from the community.

Leslie McKerchie

Hello Anne-Marie and welcome to E-Learning Heroes :)

As I shared above, your YouTube videos will be web objects, which means they are not on the same timeline as your slide, which makes any triggers about 'finishing' a slide difficult.

If you could embed the video within the course, then you could set the Next button to appear when the media completed.

For use with web objects, you could estimate the time needed to complete the video, but otherwise, I'm curious how others in the community have handled such a requirement.

This discussion is closed. You can start a new discussion or contact Articulate Support.