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

Render specific icons for different H5P content types in content bank

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68636-master
    • Hide

      Prerequisites

      1. As an admin go to Site administration > H5P > Manage H5P content types
      2. Check the 'Installed H5P content types'. 
      3. You can compare here the icons for each H5P content type.
      4. In case this list is empty, run the 'Download available H5P content types from h5p.org' cron task. This should fill the list.

      Test

      1. Log in as admin.
      2. Go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme).
      3. Click on the Upload button.
      4. Upload "filltheblanks.h5p" file and 'Save changes'.
      5. Confirm the H5P content is rendered with no errors.
      6. Go to "Content bank" using the breadcrumbs. 
      7. Confirm the icon for the created content is the one for 'fill the blanks' H5P content type and not the default H5P one.
      8. Click on the Upload button.
      9. Upload "findthewords.h5p" file and 'Save changes'.
      10. Confirm the H5P content is rendered with no errors.
      11. Go to "Content bank" using the breadcrumbs. 
      12. Confirm the icon for the created content is the one for 'find the words' H5P content type and not the default H5P one, and different to the one rendered for filltheblanks.h5p content
      Show
      Prerequisites As an admin go to Site administration > H5P > Manage H5P content types Check the 'Installed H5P content types'.  You can compare here the icons for each H5P content type. In case this list is empty, run the 'Download available H5P content types from h5p.org' cron task. This should fill the list. Test Log in as 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'. Confirm  the H5P content is rendered with no errors. Go to "Content bank" using the breadcrumbs.  Confirm the icon for the created content is the one for 'fill the blanks' H5P content type and not the default H5P one. Click on the Upload button. Upload "findthewords.h5p" file and 'Save changes'. Confirm  the H5P content is rendered with no errors. Go to "Content bank" using the breadcrumbs.  Confirm the icon for the created content is the one for 'find the words' H5P content type and not the default H5P one, and different to the one rendered for filltheblanks.h5p content

    Description

      Following the prototype (https://projects.invisionapp.com/share/TEW3EUZK692#/screens/414333451) we should render an specific H5P icon for different H5P content types instead of the default one.
      Because we need to deploy the H5P content to know the H5P content type in each package, we will change the current workflow to redirect to content view page when a new content is uploaded.

      Attachments

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              amaia Amaia Anabitarte
              Carlos Escobedo Carlos Escobedo
              Adrian Greeve Adrian Greeve
              Janelle Barcega Janelle Barcega
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours
                  1d 5h