Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21293

upgrade block tag_youtube to support new Google Data API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.8
    • 1.9
    • Blocks
    • None

      recently i noticed the the block tag_youtube does not show video thumbnails
      it appears, Google no longer support the old RSS/XML format as described in:
      http://code.google.com/apis/youtube/migration.html

      so i read through the new API (version 2):
      http://code.google.com/apis/gdata/docs/2.0/reference.html#Queries

      and luckily, found IBM's implementation for it, too:
      http://www.ibm.com/developerworks/xml/library/x-youtubeapi/
      (thanks IBM, we love you)

      and i have made a little patch to the moodle/blocks/tag_youtube/block_tag_youtube.php file

      see comments with instructions of how to apply the patch

            stronk7 Eloy Lafuente (stronk7)
            nadavkav Nadav Kavalerchik
            Helen Foster Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.