Note: This documentation is for Moodle 2.7. For up-to-date documentation see Youtube videos repository.

Youtube videos repository: Difference between revisions

From MoodleDocs
No edit summary
(mentioned workaround from tracker for pre-2.8 sites)
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Repositories}}
{{Repositories}}
The Youtube repository allows users to search from within the HTML/TinyMCE editor for a youtube video which they can then embed without the need for any coding.  The option needs to be enabled  by the administrator before it is available for teachers and students.
{{Note|The Youtube videos repository does not currently work - see  MDL-50176 for a workaround to get it working for 2.7. Note that you can stll add Youtube videos with the embed code.}}
 
The Youtube repository allows users to search from within the text editor for a youtube video which they can then embed without the need for any coding.  The option needs to be enabled  by the administrator before it is available for teachers and students. ''NOTE: If the Youtube website is blocked in your institution then the videos will not display.''
 
==Enabling the Youtube repository==
==Enabling the Youtube repository==


*Go to Site Administration>Plugins>Repositories>Manage Repositories;
*Go to ''Administration>Site administration>Plugins>Repositories>Manage Repositories'';
*Select from the drop down next to Youtube "Enabled and visible";
*Select from the drop down next to Youtube "Enabled and visible";
*If desired,click on "Settings" and give Youtube a customised name (not essential)  
*If desired,click on "Settings" and give Youtube a customised name (not essential)  


[[File:Youtuberepo.png]]
[[File:youtuberepo15.png]]


==Searching for and embedding a video from Youtube==
==Searching for and embedding a video from Youtube==
*Youtube videos can be searched for and embedded anywhere there is the HTLM/TinyMCE editor, for example a label or a page.
*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 the filmstrip, "Moodle media icon" in the editor:


[[File:Moodlemediaicon.png]]
[[File:Moodlemediaicon.png]]


*Click "Find or upload a sound, video or applet"
*Click "Browse repositories"
*The file picker will appear with Youtube videos as an option. Click it and a search box will appear:
*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.
 
{|
| [[File:youtubesearch.png|thumb|400px|center|Searching Youtube videos]]
| [[File:FIlepickerYoutube.png|thumb|400px|center|The search results]]
|}
   
   
[[File:Searchyoutube.png]]
*Click on the one you want to select it.*
*Rename if desired; add the author and license if needed and click "Insert media"
 
[[File:Youtubestep2.png]]
 
*''DO NOT WORRY IF YOUR VIDEO NO LONGER SHOWS''! You will just get a blue text link at first:
 
[[File:Youtubestep3.png]]
 
*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.
[[File:Youtubestep4.png]]
 
==Repository capabilities==
 
There is just one capability, [[Capabilities/repository/youtube:view|Use youtube in file picker]], which is allowed for the default authenticated user role.


*Type in your search terms. Videos on that topic will appear. Click the one you want to use and it will appear enlarged.
==FAQ==
*Rename if desired; add the author and license if needed and click "Select.
===The youtube repository is enabled but I still can't see the youtube option in the file picker===
*The video will be previewed in the next screen.
*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.


[[File:Pinnacleridge2.png]]
[[Category:Multimedia]]


*Click "Insert"
[[de:Youtube Video Repository]]
*''DO NOT WORRY IF YOUR VIDEO NO LONGER SHOWS''! You will just get a blue text link until you save. Then it will display :)
[[fr:Vidéos Youtube]]
[[es:Repositorio de videos de YouTube]]

Latest revision as of 07:17, 22 May 2015

Note: The Youtube videos repository does not currently work - see MDL-50176 for a workaround to get it working for 2.7. Note that you can stll add Youtube videos with the embed code.


The Youtube repository allows users to search from within the text editor for a youtube video which they can then embed without the need for any coding. The option needs to be enabled by the administrator before it is available for teachers and students. NOTE: If the Youtube website is blocked in your institution then the videos will not display.

Enabling the Youtube repository

  • Go to Administration>Site administration>Plugins>Repositories>Manage Repositories;
  • Select from the drop down next to Youtube "Enabled and visible";
  • If desired,click on "Settings" and give Youtube a customised name (not essential)

youtuberepo15.png

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:

Moodlemediaicon.png

  • 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"

Youtubestep2.png

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

Youtubestep3.png

  • 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.

Youtubestep4.png

Repository capabilities

There is just one capability, Use youtube in file picker, which is allowed for the default authenticated user role.

FAQ

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.