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

Prepare Moodle to be ready when h5p.org down completely so that only the author can see the test content

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Testing scenario 1: Display H5P filter

      1. Login as an admin.
      2. Access to "Site administration / Plugins / Filters / Display H5P".
      3. Check "Allowed sources" doesn't contain https://h5p.org/h5p/embed/[id]
      4. Check "Allowed sources" default value is empty.
      5. Add "https://moodle.h5p.com/content/[id]" into the "Allowed sources" textarea.
      6. Create a course.
      7. Create a label.
      8. Click the "H5P" Atto button.
      9. Paste the following URL into the "H5P URL or file upload" field: https://moodle.h5p.com/content/1290848995208939539
      10. Save and return to course.
      11. Check the "Open Badges & Moodle" timeline H5P content is displayed.

      Testing scenario 2: Atto button

      Covered by behat

      Show
      Testing scenario 1: Display H5P filter Login as an admin. Access to "Site administration / Plugins / Filters / Display H5P". Check "Allowed sources" doesn't contain https://h5p.org/h5p/embed/[id] Check "Allowed sources" default value is empty. Add "https://moodle.h5p.com/content/[id]" into the "Allowed sources" textarea. Create a course. Create a label. Click the "H5P" Atto button. Paste the following URL into the "H5P URL or file upload" field: https://moodle.h5p.com/content/1290848995208939539 Save and return to course. Check the "Open Badges & Moodle" timeline H5P content is displayed. Testing scenario 2: Atto button Covered by behat
    • Affected Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-68116-master

      Description

      H5P will do some changes this year to close h5p.org down completely so that only the author can see the test content. So, we have to remove all the h5p.org references from Moodle and move or remove URL/embed code in H5P atto plugin to H5P advanced options in the H5P atto plugin.

      Also, we have to update the Doc, https://docs.moodle.org/38/en/H5P according to these changes.

      List of tasks

      1. Remove h5p.org from "Allowed sources" for the Display H5P filter.
      2. Review the H5P Atto button, to remove the embed part (in order to simplify this screen, because this part was added to make easier include content coming from h5p.org).

       

        Attachments

        1. h5patto_embedcode.png
          h5patto_embedcode.png
          35 kB
        2. h5patto_option1.png
          h5patto_option1.png
          24 kB
        3. h5patto_option3.jpg
          h5patto_option3.jpg
          55 kB
        4. h5patto1.jpg
          h5patto1.jpg
          21 kB
        5. MDL-68116_TestingScenario1.jpg
          MDL-68116_TestingScenario1.jpg
          44 kB
        6. new_displayh5pfilter.png
          new_displayh5pfilter.png
          59 kB
        7. new_h5pattobutton.png
          new_h5pattobutton.png
          30 kB

          Activity

            People

            Assignee:
            sarjona Sara Arjona (@sarjona)
            Reporter:
            cescobedo Carlos Escobedo
            Peer reviewer:
            Carlos Escobedo
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 55 minutes
                1d 4h 55m