Embedding a Youtube video in Moodle

There are many instances that require a Youtube video to be added to your Moodle website. Moodle has the HTML feature that allows different HTML scripts to be placed on the site. This is where a Youtube video can be inserted. This article will explain how to insert an Youtube video in the Moodle 2.3 Frontpage.

Inserting a Youtube video

  1. Log into the Moodle Dashboard

    Important! Keep in mind that Editing must be turned on in the Settings section in order to edit any of these options.

  2. embed-youtube-video-1

    In this tutorial, we will insert a Youtube video on the FrontPage. Click the Edit icon.

  3. embed-youtube-video-2-moodle

    Next, Click the HTML icon in the WYSIWYG editor.

  4. embed-youtube-video-3-moodle

    Next, paste the Youtube code into the code. In this example, the following code is being used.

    <iframe src="https://www.youtube.com/embed/fvtNh3-UFeA" allowfullscreen="" frameborder="0" height="315" width="560"></iframe>

    Important! If the Youtube video is connecting to Youtube with https://, the box will display black. To make the box show the video, use https:// in the url of the iframe code.

    Click Save Changes.

    embed-youtube-video-4-moodle

    Now the Youtube video will display on the page similar to the snapshot to the right.


This concludes the tutorial on embedding a Youtube Video in Moodle 2.3. For more information on this Education course please visit Additional Moodle Features.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Was this article helpful? Join the conversation!