Reduce distractions and embed YouTube videos in Moodle

Posted on: February 22, 2012 | By: Dan Reis | Filed under: Instructional Technologies, Moodle, Teaching & Learning
Example of video embedded in a Moodle page

Example of a YouTube video embedded in a Moodle course page

Forty-eight hours of video is uploaded to YouTube every minute (source). Among all the giggling babies and flying sloths there is great content you could use in your course. Creating a hyperlink to a YouTube video from Moodle works fine but once students are on YouTube they can get lost or distracted by the less academic videos. Embedding video so it appears inside your Moodle course page alongside other text and images is an easy way for you to seamlessly include video without the all the distractions.

The Good: Embedding video within Moodle helps reduce distractions and maintains continuity of your content in Moodle. It also avoids some of the copyright concerns with digital videos because the video is hosted on someone else’s server.

The Bad: The disadvantage to embedding is that ultimate control of the video is left to someone else. If the person who uploaded the video to YouTube decides to remove it or it is removed for copyright reasons, the video will disappear and no longer work in your Moodle course.

Ideas for use:

  • Embed a video to introduce a new topic or to relate an important concept to popular culture.
  • Embed a video as an assignment in Moodle and have students write a short reflection about the video directly into Moodle.
  • Embed a video in a forum to support your argument.
  • Embed a YouTube playlist that contains several videos on a similar theme for students who want to learn more.
  • Embed a YouTube lecture from one of the hundreds of Universities on to supplement your instruction or activities.

What is the difference between embedding a YouTube video and uploading a video via Resources/Video in Moodle? Uploading a video requires that you have a local copy of the video. For example, if you recorded a video with your iPhone or Flip video camera, you can upload it. Otherwise, finding a video on YouTube and embedding it into your Moodle course is a great way to bring video into your class.

How-to embed a YouTube video into Moodle

The directions below are for embedding a YouTube video. It is also possible to embed videos from many other video sharing websites like: Vimeo, PBS,, Hulu and others. Just look for an icon or text that says “embed” or “share.” However, how you paste it into Moodle will be a little different.

Summary of steps

  • Find video on YouTube
  • Copy the link to the video
  • Create a resource in Moodle
  • Paste the link into your Moodle course

Step 1: Find a video on YouTube at Tip: YouTube has thousands of academic lectures from the world’s top universities available for use at

Step 2: Highlight and copy the URL for the video. You are done with

Copy URL from YouTube

Step 3: Go to your Moodle course page and click on “Turn editing on.”

Turn editing on

Step 4: Click on “Add a resource” and select “Page.”

Moodle add a page

Step 5: Enter a Name for the web page/resource. You may also add text in the summary box but it is not required.

Add resource name

Step 6: Find the location you want to paste your video. If you have text you want to include in the web page, you can enter it in the “Compose a web page” box. Ctrl + V (Mac: Command + V) in the text box to paste your copied URL in the text box.

Paste YouTube link

Step 7: Make sure the link is an active hyperlink. If it is a different color and underlined, move to step 8. If not, highlight the text and click on the hyperlink icon.Then paste the hyperlink in the “Link URL” box.

Create a hyperlink

Step 8: Scroll-down and click on “Save and display.”

That’s it. Your video should appear within your Moodle course page. If the video does not appear in the page, it is because the link is not an active link (active links are blue and underlined). To make it an active link, click on “Update this resource” in the upper-right corner of the screen. Highlight the entire link, click on the “Insert web link” icon (the chain links), paste the link text into the URL line and click “OK.”

Example of video embedded in a Moodle page

Example of a YouTube video embedded in a Moodle course page

View the video in the example:

Blogs vs. Wikis.

About the author

Dan Reis is an Instructional Technologist with Elon University’s Teaching and Learning Technologies.

Dan Reis

Dan Reis is an Instructional Technologist with Elon University’s Teaching and Learning Technologies.

More Posts - Website

Follow Me:


4 responses to “Reduce distractions and embed YouTube videos in Moodle”

  1. Emory says:

    Nice post and I think its valuable to know the steps you outlined for using other media as well.

    However there is also a Moodle YouTube filter that you might want to install It allows the user to paste the url in a webpage instead of the entire embed code.


  2. Dan Reis says:

    Thanks Emory – I didn’t realize we already had that installed in our version of Moodle. I have updated this post with the easier directions (none of that HTML nonsense). Next post: How to embed videos from other sources.

  3. Megan Squire says:

    Can anyone tell me how to paste in a Youtube URL and NOT have it show the video in the post? I’d like it to just be a link. But each time I think I’m posting JUST a link, it embeds the entire video. Frustrating.

  4. Dan Reis says:

    Hi Megan – Great question. Try copying the shortened link to the YouTube video and pasting that in Moodle. It should look something like this: That shouldn’t embed the video because Moodle doesn’t recognize it as a YouTube link. Here is a screenshot showing where to find the shortened links on YouTube.