MDL-70063 block_tag_youtube: Update category config to use category ID
authorMihail Geshoski <mihail@moodle.com>
Sat, 31 Oct 2020 14:52:06 +0000 (22:52 +0800)
committerMihail Geshoski <mihail@moodle.com>
Wed, 11 Nov 2020 13:45:09 +0000 (21:45 +0800)
commit6e4c5bf0a225d4b69fb7db6d4d8a16377e68d004
tree0b2b797b1be747cb0c2cf383ba329e8e495e209f
parentec58cefefb2722f61f77c9a2b6a12d40a8c078a0
MDL-70063 block_tag_youtube: Update category config to use category ID

In YouTube Data API v3, the API call to fetch the videos related to a
certain category expects the category ID to be passed to the
videoCategoryId parameter, instead of the category name. Therefore, the
category config should store the category ID.
blocks/tag_youtube/block_tag_youtube.php
blocks/tag_youtube/edit_form.php
blocks/tag_youtube/lang/en/block_tag_youtube.php
blocks/tag_youtube/upgrade.txt