Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2235

Initial H5P support

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.8.0
    • Component/s: Android, iOS
    • Labels:
    • Testing Instructions:
      Hide

      This issue should be tested both in Android and iOS.

      Test packages hosted in h5p.org

      1. In Moodle 3.8/master as admin/teacher, create a new label or page activity.
      2. In the Atto editor, click the H5P button and add a URL to an h5p package in h5p.org (there are some in the testing instructions of MDL-66397). Please notice there's a page already created in Master site > MM Dev Testing > H5P > Page with external H5P.
      3. In the app as student, open the page/label. Check that you see a "placeholder" with the H5P logo and the play button, but no download button.
      4. Click Play. Check that you can use the H5P (in online).

      Test packages hosted in the site

      1. Add any of the packages attached to this issue to a Moodle site, in labels. There are some already added in Master site > MM Dev Testing > H5P, in different labels. The reason to add them in labels is that pages are automatically downloaded when opened in the app.
      2. In the app as student, go to the H5P. Check that you see a "placeholder" with the H5P logo, a play button and a download button.
      3. Click Play. Check that you can use the H5P almost immediately (you don't have to wait for it to be downloaded and extracted, this could take a few seconds).
      4. Perform a PTR. Check that you see the placeholder again, but now the download button displays the "downloaded" icon (the package was downloaded in background).
      5. Go offline and click Play. Check that you can play the package.
      6. Now go to App settings > Space usage and delete all the files from the site.
      7. Go online again, go back to the H5P package and click the download button. Check that the package is downloaded successfully.
      8. Go offline and click Play. Check that you can play the package.
      Show
      This issue should be tested both in Android and iOS. Test packages hosted in h5p.org In Moodle 3.8/master as admin/teacher, create a new label or page activity. In the Atto editor, click the H5P button and add a URL to an h5p package in h5p.org (there are some in the testing instructions of  MDL-66397 ). Please notice there's a page already created in Master site > MM Dev Testing > H5P > Page with external H5P. In the app as student, open the page/label. Check that you see a "placeholder" with the H5P logo and the play button, but no download button. Click Play. Check that you can use the H5P (in online). Test packages hosted in the site Add any of the packages attached to this issue to a Moodle site, in labels. There are some already added in Master site > MM Dev Testing > H5P, in different labels. The reason to add them in labels is that pages are automatically downloaded when opened in the app. In the app as student, go to the H5P. Check that you see a "placeholder" with the H5P logo, a play button and a download button. Click Play. Check that you can use the H5P almost immediately (you don't have to wait for it to be downloaded and extracted, this could take a few seconds). Perform a PTR. Check that you see the placeholder again, but now the download button displays the "downloaded" icon (the package was downloaded in background). Go offline and click Play. Check that you can play the package. Now go to App settings > Space usage and delete all the files from the site. Go online again, go back to the H5P package and click the download button. Check that the package is downloaded successfully. Go offline and click Play. Check that you can play the package.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.8.0

      Description

      Moodle 3.8 will introduce H5P in core. The app should be able to:

      • Play h5p packages that were added to Moodle but hosted in h5p site.
      • Play h5p packages that were uploaded to Moodle.
      • If allowed, download h5p packages uploaded to Moodle so they can be played in offline.

        Attachments

        1. arithmetic-quiz-22-57860.h5p.zip
          731 kB
        2. course-presentation-21-21180.h5p
          4.14 MB
        3. guess-the-answer.h5p
          861 kB
        4. h5p-column-34794.h5p
          5.23 MB
        5. interactive-video-1-1.h5p
          2.50 MB
        6. photo_2019-12-10_12-21-11.jpg
          photo_2019-12-10_12-21-11.jpg
          90 kB
        7. Screen Shot 2019-12-10 at 11.42.38.png
          Screen Shot 2019-12-10 at 11.42.38.png
          482 kB

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              urpokarhu Jari Vilkman
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Isabel Renedo Rouco
              Participants:
              Component watchers:
              Juan Leyva, Juan Leyva
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/Dec/19