Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Youtube block.

Youtube block: Difference between revisions

From MoodleDocs
(added link to tracker with problem)
(Enabling the Youtube block)
Line 1: Line 1:
<p class="note">'''Note''': There is currently a problem with this block. See MDL-49085.</p>
{{Blocks}}The Youtube block will pull Youtube videos with the same tag words as the tags page it is on.


''Note: The Youtube block works in Moodle 2.8.8 and 2.9.2 onwards ONLY, as an API key is now required (MDL-49085).''


{{Blocks}}The Youtube block can only be added to a [[Tags]] page.  Once you have edited your Profile or made a Blog entry and provided key words in the interests” portion, these words become tags.  From the Tags block you can click any tag to be taken to that word’s Tags page, where you can edit it to add the Youtube block.
==Enabling the Youtube block==


[[Image:Youtube block.png|Youtube block.png]]
The API key used to enable the Youtube videos repository may also be used to enable the Youtube block. See [[Youtube videos repository]] for details of how to obtain the API key.


This block will pull Youtube videos with the same tag words related to the current Tags page.  The title is optional.  Select the number of videos you would like to display in the block.  You can also select the category from which the videos will be pulled in Youtube.  In addition, you can specify which specific playlist you would like to pull the videos from by including the playlist id.  This id is the alpha-numeric string of numbers at the end of the URL, i.e. http://www.youtube.com/view_play_list?p=A77EAA3A1CFA1CD8 using A77EAA3A1CFA1CD8 as the playlist id.
# Go to ''Administration > Site administration > Plugins > Blocks > Manage blocks
# Click the settings link opposite the Youtube block
# Enter the API key then click 'Save changes'.


==Using the Youtube block==
The Youtube block can only be added to a [[Tags]] page.
The title of the block is optional.  Select the number of videos you would like to display in the block.  You can also select the category from which the videos will be pulled in Youtube.  In addition, you can specify which specific playlist you would like to pull the videos from by including the playlist id.  This id is the alpha-numeric string of numbers at the end of the URL, i.e. http://www.youtube.com/view_play_list?p=A77EAA3A1CFA1CD8 using A77EAA3A1CFA1CD8 as the playlist id.
[[Image:Youtube block.png]]
[[Category:Multimedia]]
[[Category:Multimedia]]



Revision as of 12:31, 21 August 2015

The Youtube block will pull Youtube videos with the same tag words as the tags page it is on.

Note: The Youtube block works in Moodle 2.8.8 and 2.9.2 onwards ONLY, as an API key is now required (MDL-49085).

Enabling the Youtube block

The API key used to enable the Youtube videos repository may also be used to enable the Youtube block. See Youtube videos repository for details of how to obtain the API key.

  1. Go to Administration > Site administration > Plugins > Blocks > Manage blocks
  2. Click the settings link opposite the Youtube block
  3. Enter the API key then click 'Save changes'.

Using the Youtube block

The Youtube block can only be added to a Tags page.

The title of the block is optional. Select the number of videos you would like to display in the block. You can also select the category from which the videos will be pulled in Youtube. In addition, you can specify which specific playlist you would like to pull the videos from by including the playlist id. This id is the alpha-numeric string of numbers at the end of the URL, i.e. http://www.youtube.com/view_play_list?p=A77EAA3A1CFA1CD8 using A77EAA3A1CFA1CD8 as the playlist id.

Youtube block.png