Forum Discussion

KatrinBergma317's avatar
KatrinBergma317
Community Member
5 years ago

Embedded videos from Youtube - prevent video suggestions

Hi,
Sometimes I insert an embedded youtube link in a Story project but at the end of the video there are always suggestions of other videos shown. If it is our own videos I always insert the mp4 file, but I can not do this if it's not our own video. Is there a way to prevent video suggestions to show up at the end of a embedded youtube video in a Storyline 360 project? Maybe some kind of trigger that I can add to move on to next page when the video ends?

4 Replies

  • Hi, Katrin,

    You could add a trigger that jumps to the next slide when the media (aka, the video) completes. 

    If you want the learner to be able to replay your video and/or review other info on the slide, but without seeing the "suggestions," you could trigger a shape to appear over the video area when the media ends. Of course, you'd also have to add triggers to hide that shape when replaying the video. 

    There may be a way to edit the embed code. However, I'm not familiar with that aspect. 

    • MelissaMaher's avatar
      MelissaMaher
      Community Member

      This seems to work only when the video is an mp4, rather than an external web link. I'm working with a youtube video embed code, and I can't do two things: 1. I can't get the video to autoplay. I'm using this code: <iframe width="1000" height="562" src="https://www.youtube.com/embed/[video id]?autoplay=1&start=9&end=157&rel=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> all of which works except the autoplay, and so of course 2. I can't get Storyline to sense when the video ends, in order to trigger a jump to next slide. Number 2 would be resolved if I could resolve number 1. Does anyone have any experience with this? Thanks so much in advance!

  • Some of the codes have recently changed or evolved, but try this and I think it will do what you are asking. Replace [VIDEO ID] with the id for your youtube video.

    <iframe width="560" height="315" src="https://www.youtube.com/embed/[VIDEO ID]?modestbranding=1&rel=0" frameborder="0" allowfullscreen="" modestbranding="1" rel="0"></iframe>