Difference between revisions of "YouTube videos repository"

From Carleton Moodle Docs

(Searching for and embedding a video from YouTube)
Line 18: Line 18:
| [[File:youtubesearch.png|thumb|400px|center|Searching YouTube videos]]
| [[File:400px-youtubesearch.png|thumb|400px|center|Searching YouTube videos]]
| [[File:FIlepickerYoutube.png|thumb|400px|center|The search results]]
| [[File:400px-FIlepickerYoutube.png|thumb|400px|center|The search results]]

Latest revision as of 17:26, 15 June 2018

The YouTube repository

The YouTube repository allows users easily to embed videos from YouTube. It is disabled by default on new installs because it requires an API key.

Searching for and embedding a video from YouTube

  • YouTube videos can be searched for and embedded anywhere there is the text editor, for example a label or a page.
  • Before this works, you must enable the multimedia filters under Administration > Site administration/Plugins/Filters/Manage Filters. Set Multimedia Plugins to "On" and make sure YouTube is selected under Settings (it should be by default).
  • Within a course you must ensure in Course administration > Filters that multimedia are ON.
  • Click the filmstrip, "Moodle media icon" in the editor:


  • Click "Browse repositories"
  • The file picker will appear with YouTube videos as an option. Click it and a search box will appear.
  • You can search by relevance, date, rating or view count. Click the "Search" button when you are ready.
  • Your search results will appear as video thumbnails.
Searching YouTube videos
The search results
  • Click on the one you want to select it.*
  • Rename if desired; add the author and license if needed and click "Insert media"


  • DO NOT WORRY IF YOUR VIDEO NO LONGER SHOWS! You will just get a blue text link at first:


  • Save it and then it will display.If it still displays as a text link after saving, make sure you have enabled the Multimedia filter as instructed at the top of this page.



The YouTube repository is enabled but I still can't see the YouTube option in the file picker

Are you sure you are working with the text editor? The YouTube option allows you to search for and embed YouTube videos into the editor in places such as labels or pages. You won't see it simply by clicking the "add" button when uploading a file, for example.