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

Cannot stop autoplay media when controls are hidden and autoplay is set to true

    • MOODLE_500_STABLE, MOODLE_501_STABLE
    • MDL-85388-500
    • MDL-85388-main
    • Hide

      Testing

      1. Login as admin
      2. Go to edit profile -> Description
      3. Click on add media button and select video
      4. Once the video is previewed, uncheck the "Show controls' checkbox and check the "Autoplay"
      5. Verify that "Show controls" checkbox gets checked
      6. Uncheck the "Show controls"
      7. Verify that "Autoplay" checkbox gets unchecked
      8. Click "Save" to insert the media into the editor.
      9. Edit the media by clicking it and click on multimedia menu
      10. Once the media is previewed, right click on the "Autoplay" checkbox and add "checked" to its html and make sure it gets checked.
      11. Make sure "Show controls" checkbox is unchecked
      12. Click on "Save" to insert the media into the editor
      13. Verify that the controls are hidden and the media is not autoplayed.
      Show
      Testing Login as admin Go to edit profile -> Description Click on add media button and select video Once the video is previewed, uncheck the "Show controls' checkbox and check the "Autoplay" Verify that "Show controls" checkbox gets checked Uncheck the "Show controls" Verify that "Autoplay" checkbox gets unchecked Click "Save" to insert the media into the editor. Edit the media by clicking it and click on multimedia menu Once the media is previewed, right click on the "Autoplay" checkbox and add "checked" to its html and make sure it gets checked. Make sure "Show controls" checkbox is unchecked Click on "Save" to insert the media into the editor Verify that the controls are hidden and the media is not autoplayed.
    • Hide

      Code verified against automated checks.

      Checked MDL-85388 using repository: https://github.com/stevandoMoodle/moodle.git

      More information about this report

      Built on: Mon May 12 02:24:40 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-85388 using repository: https://github.com/stevandoMoodle/moodle.git MOODLE_500_STABLE (0 errors / 0 warnings) [branch: MDL-85388-500 | CI Job ] main (0 errors / 0 warnings) [branch: MDL-85388-main | CI Job ] More information about this report Built on: Mon May 12 02:24:40 UTC 2025
    • 2
    • Team Hedgehogs 2025 Sprint 2.0, Team Hedgehogs 2025 Sprint 2.1, Team Hedgehogs 2025 Sprint 2.2

      Discovered by robertvangarderen, where we upload a video from our local machine and uncheck the "Controls" and check the "Autoplay" the media cannot be stopped once saved and displayed in the page.

      Steps to replicate

      1. Login as admin
      2. Go to edit profile -> Description
      3. Click on add media button and select video
      4. Once the video is previewed, uncheck the "Controls' and check the "Autoplay" and click save
      5. Verify that the video is played automatically but you cannot stop it due to the controls being hidden like in the following screenshot

            stevani.andolo@moodle.com Stevani Andolo
            stevani.andolo@moodle.com Stevani Andolo
            Raquel Ortega Raquel Ortega
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 9 minutes
                3h 9m

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