Linking to online media outside Moodle

Media that is freely available on the web can be integrated into your teaching materials in two ways - through a simple link or by embedding the media (so it can be viewed within Moodle) 

Creating a simple link to media

Creating a link to external media requires the same process as linking to online content outside Moodle

Highlight the text to be linked and click the link icon on the far left of the bottom row:

highlight text

This will open a pop up window:

You tube link

Paste the URL into the 'Link URL' field.


YouTube videos will automatically embed in Moodle, when a link is created to the URL. You can prevent this by including 'embed=no&' in the URL copied from the address bar directly after 'watch?' (do not use the YouTube share link if you want to prevent embedding). For the video above, the URL in the address bar is:

To prevent the video from embedding on the page, change the URL to:

The target field has a drop down menu with several options. The most common are 'Open in this window/ frame' (which is the default) and 'Open in new window' (this has the advantage of leaving the unit site open while students access the external resource in a new web page). 

Click Insert button at the bottom of the pop up and continue editing or click on 'Save and return'/ 'Save and display'.

Once saved, the link will appear underlined as per UNE web guidelines.

Embedding media into teaching materials

1. Using a YouTube link

You Tube videos will automatically embed into a Moodle page if they are added as a link to text. 

For example, you can embed a video by highlighting the URL and creating a link to the YouTube video (using the URL in the address bar or the Share link) as below:

Link to YouTube video

The result when the page is saved and displayed is:

Media sample page

A YouTube video:

Last modified: Wednesday, 13 April 2016, 4:27 PM

2. Using embed code

An alternative approach is to use the embed code provided with some media sites and paste this into the html of your page. Use the text editor to type to where the video is required. Click on the HTML icon in the tool bar (see below).

adding embed code

Using YouTube as an example, click the 'Share' link and select 'Embed'. Copy the code provided (Ctrl+C or Apple+C)

embed YouTube video

Paste the code into the html editor, click update, and the video will embed automatically. 

Other media sites

Many sites including Vimeo have similar options to YouTube with share links and embed code:

 Vimeo share options

Many sites also include the option to start videos from a set time. There are also a range of embed options available, but the defaults are usually appropriate for most purposes.

Some sites do not offer share options and a link to the page where the media is available will need to be provided instead.

Note: Video/ audio files must not be downloaded and provided to students as a file without permission from the owner (see Copyright Office for more information).

Last modified: Monday, 6 February 2017, 4:52 PM