#Moodle Tricks of the Trade – Ways of tweaking YouTube embed code

This is the 16th entry, in the Moodle Tricks of the Trade series.

In the previous post in this series, I introduced the idea of using videos in Discussion activities. In this post, I will introduce a couple of ways that if you are using YouTube, you can tweak the embed code to either change the appearance or change the behaviour of how the video plays.

This video was recorded in January 2023, note that YouTube is forever changing the way that embed code works and behaves, so at some point in the future these tweaks may not work.

The tweaks that I introduce are:

  1. Adding a border to the video
  2. Changing the ‘suggested videos’ that show at the end
  3. Specifying a start time for the video
  4. Specifying an end time for the video
  5. Applying multiple elements (e.g. doing a combination of the above)

One thought on “#Moodle Tricks of the Trade – Ways of tweaking YouTube embed code

Leave a comment