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

Youtube Repository Error "Invalid JSON String"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
      None
    • Environment:
      Linux moodle20.localhost 2.6.32-71.el6.i686 #1 SMP Wed Sep 1 01:26:34 EDT 2010 i686 i686 i386 GNU/Linux
    • Database:
      MySQL
    • Workaround:
      Hide

      Embed the URL as an OBJECT in the HTML source code. This will force the site administrator to enable "Allow EMBED and OBJECT " option!!

      Show
      Embed the URL as an OBJECT in the HTML source code. This will force the site administrator to enable "Allow EMBED and OBJECT " option!!
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      I have Moodle 2.0.3 (Build: 20110505) installed, whenever I try to search youtube for a video using the repository built in I get an error message saying "INVALID JSON STRING".

      Replication instructions:
      1. Enabled "Youtube videos" repository in Moodle 2.0.3 (Site administration -> Plugins -> Repositories -> Manage repositories)
      2. Access any course and add a "Page" resource.
      3. Click on "Moodle Media" in the text box toolbar.
      4. Click on "Find or upload a sound, video or applet..."
      5. From the "File Picker" select the "YouTube" repository and search for a video.

      This result the error to appear to me.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: