Embedding a YouTube video

Moodle 2.0 offers the possibility to add YouTube within the file picker when we want to upload some media files to enhance our Moodle courses. Therefore, in this recipe we will consider the fact to make this visible in the file picker.

Getting ready

There are some steps that you need to take into account in order to enable the YouTube options in the file picker.

How to do it...

Let's switch our role in order to enable YouTube videos, available from the file picker. Therefore, click on Switch role to and select Manager. After switching your role, these are the steps to follow:

  1. Click on Site administration | Plugins | Repositories | Manage repositories.
  2. Click on next to YouTube videos Enabled and visible, as shown in the following screenshot:
    How to do it...
  3. Click on Save | Save changes.

How it works...

We have just enabled YouTube videos to be shown in the file picker whenever we want to upload a video from the said website in our Moodle course. So, these are the steps to follow:

  1. Click on Add an activity | Upload a single file within Assignments.
  2. Complete the Assignment name and Description blocks.
  3. Click on the Moodle Media icon | Find or upload a sound, video or applet ... | Youtube videos.
  4. Complete the Search videos block with the video that you want to look for, as shown in the following screenshot:
    How it works...
  5. Click on Search.
  6. Many videos appear containing the said word. You click on the one that you want to embed, as shown in the following screenshot:
    How it works...
  7. You can choose between View as icons or View as list. The View as icons is shown in the previous screenshot.
  8. Click on Select this file.
  9. It is advisable to play the video before embedding it in the Moodle course. So, click on play and watch the video, as shown in the following screenshot:
    How it works...
  10. Click on Insert if you are happy with the video.
  11. Click on Save and return to course. The video is embedded in our Moodle course.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.82.4