Label :display sound and video files. It's easy in Moodle to display sound files
like mp3's video files like mp4 or externally hosted files such as on
YouTube with the multimedia filter enabled these files display in their own
player as we can see in this History course where the teacher has uploaded an
mp3 file of the course objectives and if we scroll down we see she's embedded a
YouTube video directly on the course page. If you have media files of your own
the easiest way to embed them is by drag and drop. Our teacher here turns on the
editing, scrolls to where she wants the file and drags it from her desktop. She
can either display it as a clickable link or add it directly to the course
page in a label. Let's go back to our teacher Sam's
course to explore this more. You can display sound and video files anywhere
there is a text editor so for example we could do it in a
section summary or in a page resource
but we are going to use what Moodle calls a label, so we turn the editing
on from the gear menu top right, and then in the section we want our media file, we
click add an activity or resource and then scroll down to label. Clicking label
once will display information on the right-hand pane and clicking it twice
will take us straight into our label to start editing it so let's add an mp3
sound file of the course objectives. When we've added our text we click the media
icon and choose audio and then browse repositories to find or upload the mp3
sound file.
Note that other options are available too but we'll look at those shortly.
When we click Insert media the file doesn't yet display in its player. We'll
only see it once we click Save and return to course and here it is.
Now let's see two ways of adding YouTube videos. Again we go to Add an activity or
resource and add a label and this time when we click the media
icon we choose video. We can either paste in the URL of our YouTube video or
browse the repositories and go to YouTube videos which our administrator
has enabled. There are various criteria we can search from. We type in a key term -
let's use French alphabet rap - and then when we click the search button YouTube
presents us with some possible videos to choose from and we simply click the one
we want and select it. Other options here allow us to specify a size for our video
upload a thumbnail image and even add our own captions and subtitles in
different languages if we want to, and again when we click Insert media we
don't yet see the embedded YouTube video until we save and return to course. And
we don't need to know any code to be able to do this. However if you have
several videos it's better to display them in a page resource where students
can click to go to the video rather than having a number of videos directly on
your course page. If you already know the URL of your YouTube video here's a quick
way of embedding it into a page. Again we click add an Activity or resource and
choose Page and then we simply paste the URL of the
YouTube video directly onto the page and save.
Note that it displays immediately in a player but if you don't see it displayed
in a player, check your filter settings.