15 Replies
LaRue Martin

Did any of these options work for you? I'm trying to do the same thing. The worst thing is to allow a user to go down the YouTube rabbit hole in the middle of a course!

There's a parameter here for determining whether related videos will come from same channel or elsewhere. But is there an option to specify NOT to show related videos at all?

Rick Sell

LaRue, where do you put that into your embed code? I put ?rel=0 at the beginning, and at the end, after the last &. Putting it at the end allows any videos to display, and putting it at the beginning restricts to only videos from the same channel, as expected. How do I use this parameter to stop all related videos from displaying?

LaRue Martin

It goes at the end only. And if you have other coding there, it goes within the closing quotation mark of the source (src) line.

Like so (the part in BOLD is what is added):

EMBED CODE:

<iframe width="690" height="388"
src="https://www.youtube.com/watch?v=-NcB5YupsB0?rel=0"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
</iframe>

And if you want another parameter, like not showing YouTube controls, that src line would look like so:

src="https://www.youtube.com/watch?v=-NcB5YupsB0?rel=0&controls=0"

 

Hope this helps!

Crystal Horn

Hi Rick!  If your course is being viewed with IE 10, I would expect it to default to the Flash output.  HTML5 is supported for IE 11.

The rel parameter determines which related videos will be suggested at the end of the video.

  • rel=0 means related videos will come from the same channel as the source video
  • rel=1 means related videos will come from any channel (default)

I don't believe there's a parameter to stop all related videos.