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

Consider auto-playing H5P packages (already downloaded case)

XMLWordPrintable

    • Hide

      Test on any device of your choice.

      1. Enter a page activity with more than one h5P. (Check they don't have the autoplay setting, see MOBILE-4656)
      2. Check a placeholder is displayed and you can either download or play the H5p.
      3. Download one of them.
      4. Exit the page and enter again.
      5. Check the downloaded h5p its automatically played. And the others have placeholder.
      6. Download one more.
      7. Exit and enter again.
      8. Check again only the downloaded are played.
      Show
      Test on any device of your choice. Enter a page activity with more than one h5P. (Check they don't have the autoplay setting, see MOBILE-4656 ) Check a placeholder is displayed and you can either download or play the H5p. Download one of them. Exit the page and enter again. Check the downloaded h5p its automatically played. And the others have placeholder. Download one more. Exit and enter again. Check again only the downloaded are played.
    • MOODLE_403_STABLE
    • Moodle Apps Sprint 2025-I1.4

      When embedding an H5P outside of h5pactivity, we display a "placeholder" with a play button and a download button. In the forum, some users asked to auto play these packages:

      https://moodle.org/mod/forum/discuss.php?d=450214

      IIRC, the main reasons to not auto play were:

      1. Data usage, the app automatically tries to download H5P packages when they are played unless they're bigger than a certain size (2MB for cell connection, 20MB for WiFi).
      2. In the "pre-play" placeholder, we display the download button at the top right and this button disappears when the package is played. If we auto-play all packages, the big packages (not downloaded in the previous point) would never be downloaded, the only way to download them would be to download the whole section/course.
      3. Performance. If a teacher adds several H5P packages in the same page, auto-playing them all means rendering many more elements and JS code, and this can impact old devices.

      We should evaluate if we want to change or improve this, e.g. we could auto play packages that are downloaded.

            pferre22 Pau Ferrer
            dpalou Dani Palou
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 6 hours, 21 minutes
                3w 6h 21m

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