Sometimes the YouTube videos being embedded come from a playlist. If a playlist video is embedded, then after the video plays, it will roll over into the next video, which may or may not be related. Since we don’t want unrelated videos to play in the textbook, we need to prevent video rollover. We’ll use the automatic embed method to be clear.
If your video comes from a playlist (see image above) the video’s URL will be a bit longer, and look something like the following:
And it will display like this:
If you watch this video until the end, you’ll notice that it rolls over into the next video in the playlist – which might not be appropriate given the content of the video and the subject matter of the textbook.
In order to prevent this video from rolling over, we need to adjust the URL by removing the second part of the link that begins with &list=…
So if the original URL looks like this:
We truncate the URL to now look like this:
And the video should display correctly, like so: