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.


    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.

Alyssa Kordek Content Writer I

Alyssa started working for InMotion Hosting in 2015 as a member of the Technical Support team. Before being promoted to Technical Writer, Alyssa developed expertise in the fields of server hardware, Linux operating systems, cPanel, and WordPress. She now works to produce quality technical content featuring cutting-edge topics such as machine learning, data center infrastructure, and graphics card technology.

More Articles by Alyssa


It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!