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

Integrate content bank and H5P content creator

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-67810-master
    • Hide

      Prerequisites

      We need some H5P content types installed.

      1. As an admin, go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme).
      2. Click on the Upload button.
      3. Upload "filltheblanks.h5p" file and 'Save changes'.
      4. Verify the "filltheblanks.h5p" element is shown.
      5. Repeat steps 1-4 but using the file "arithmetic-quiz.h5p".

      Test 1 - Edit existing content

      1. Click on "filltheblanks.h5p".
      2. Ensure you are in the view page and the file name (content name) is in the page header.
      3. Confirm the H5P content is rendered with no errors.
      4. Click on the "Close" button.
      5. Ensure you are in the content bank main page.
      6. Click on "arithmetic-quiz.h5p".
      7. Click on the "Edit" button.
      8. Ensure you are in the edit page.
      9. Click on the "Save" button.
      10. Confirm the "Title" field is empty and there is a warning message under it.
      11. Click on the "Cancel" button.
      12. Verify you are in the "arithmetic-quiz.h5p" view page.
      13. Click "Edit" button.
      14. Fill up the "Title" field and modify the "Intro" field text.
      15. Click "Save" button.
      16. Confirm in the "arithmetic-quiz.h5p" view page that the content displays the text you entered in the "Intro" field in step 14.
      17. Click on the "Close" button to return to the content bank main page and be ready for the next test.

      Test 2 - Create new content

      1. Click on the "Add" button.
      2. Select "Fill in the Blanks" option.
      3. Ensure you are in the edit page.
      4. Confirm the "Title" field is empty and there is a warning message under it.
      5. Click on the "Cancel" button.
      6. Verify you are in the content bank main page.
      7. Repeat steps 1-3.
      8. Fill in the "Title", "Task description" and "Line of text" fields.
      9. Click "Save" button.
      10. Confirm the title field value is in the page header and the fields you modified in step 8 are correctly rendered.
      11. Click on the "Close" button.
      12. Confirm the new content element is shown, and the name matches the value of the title entered in step 8.

       

      Show
      Prerequisites We need some H5P content types installed. As an admin, go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme). Click on the Upload button. Upload "filltheblanks.h5p" file and 'Save changes'. Verify the "filltheblanks.h5p" element is shown. Repeat steps 1-4 but using the file "arithmetic-quiz.h5p". Test 1 - Edit existing content Click on "filltheblanks.h5p". Ensure you are in the view page and the file name (content name) is in the page header. Confirm the H5P content is rendered with no errors. Click on the "Close" button. Ensure you are in the content bank main page. Click on "arithmetic-quiz.h5p". Click on the "Edit" button. Ensure you are in the edit page. Click on the "Save" button. Confirm the "Title" field is empty and there is a warning message under it. Click on the "Cancel" button. Verify you are in the "arithmetic-quiz.h5p" view page. Click "Edit" button. Fill up the "Title" field and modify the "Intro" field text. Click "Save" button. Confirm in the "arithmetic-quiz.h5p" view page that the content displays the text you entered in the "Intro" field in step 14. Click on the "Close" button to return to the content bank main page and be ready for the next test. Test 2 - Create new content Click on the "Add" button. Select "Fill in the Blanks" option. Ensure you are in the edit page. Confirm the "Title" field is empty and there is a warning message under it. Click on the "Cancel" button. Verify you are in the content bank main page. Repeat steps 1-3. Fill in the "Title", "Task description" and "Line of text" fields. Click "Save" button. Confirm the title field value is in the page header and the fields you modified in step 8 are correctly rendered. Click on the "Close" button. Confirm the new content element is shown, and the name matches the value of the title entered in step 8.  

      As an instructional designer
      I want to create H5P new content in the content bank
      So that I can share my brand new content with other users in the site

      Acceptance criteria:

      • Be able to access H5P editor via content bank and create new H5P content from scratch.
      • Be able to manage created H5P content as any other content in the content bank.

      List of tasks:

      • Define information wokflow between content bank and H5P content editor.
      • Implement needed classes, method and functions to fully integrate H5P content editor and content bank management system.
      • Add new PHP Unit tests
      • Add behat tests or create a new issue to add them

       

      Prototype: https://projects.invisionapp.com/share/7RVTFQ8HFJ4#/screens/414333457 

        1. arithmetic-quiz.h5p
          731 kB
        2. filltheblanks.h5p
          699 kB
        3. h5p.png
          h5p.png
          55 kB
        4. Screenshot_1.png
          Screenshot_1.png
          43 kB
        5. Screenshot_2.png
          Screenshot_2.png
          91 kB
        6. Screenshot_3.png
          Screenshot_3.png
          76 kB
        7. Selección_064.png
          Selección_064.png
          49 kB
        8. Selección_065.png
          Selección_065.png
          75 kB

            vmdef Victor Déniz Falcón
            amaia Amaia Anabitarte
            Ferran Recio Ferran Recio
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 weeks, 3 days, 12 minutes
                2w 3d 12m

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