D2L Help Articles

Find help articles on specific D2L tasks related to Themepack.

How To Add A YouTube Video

Learn how to add a YouTube Video to your course using an embed code and media container.

Step by Step:

  1. Locate the YouTube video you want to embed and click on the "Share" button.

    Step 1
  2. This popup menu will appear. Click on the "Embed" icon or text.

    Step 2
  3. A preview of the video and code will appear in a new popup menu. Click on the "Copy" button.

    Step 3
  4. Navigate to D2L and open the page where you wish to add a YouTube video. Click on the caret next to the page title.

    Step 4
  5. From the dropdown, click the "Edit HTML" option.

    Step 5
  6. From the editor toolbar, select the "view source code" button.

    Step 6
  7. Use "Command + F" or "Control + F" to search for "media-container".

    Step 7
  8. Click the "Next match" button to search the page for the correct code.

    Step 8
  9. If you cannot find a match, add a media container to the page. (See the Media Container article for an example.)

    Step 8a
  10. After adding a media container, or finding a match, the code should look like this.

    Step 9
  11. With the code that you copied from YouTube, select the <iframe> code and copy and paste it in.

    Step 10
  12. After the <iframe> content has been replaced, be sure to edit the "title" attribute.

    Step 11
  13. Save your changes.

    Step 12