Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: YouTube block.

YouTube block: Difference between revisions

From MoodleDocs
m (Tsala moved page Youtube block to YouTube block)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Blocks}}The Youtube block will pull Youtube videos with the same tag words as the tags page it is on. The block is disabled by default in new installs as it requires an API key.
{{Blocks}}The YouTube block will pull YouTube videos with the same tag words as the tags page it is on. The block is disabled by default in new installs as it requires an API key.


==Enabling the Youtube block==
==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.
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.


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


==Using the Youtube block==
==Using the YouTube block==


The Youtube block can only be added to a [[Tags]] page.
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.
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]]
[[Image:Youtube block.png]]
Line 23: Line 23:
[[eu:Youtube_blokea]]
[[eu:Youtube_blokea]]
[[es:Bloque de Youtube]]
[[es:Bloque de Youtube]]
[[fr:Bloc Youtube]]

Latest revision as of 08:32, 24 May 2019

The YouTube block will pull YouTube videos with the same tag words as the tags page it is on. The block is disabled by default in new installs as it requires an API key.

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