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

Tiny RecordRTC: Convert audio recording to a 'universal' format - MP3

XMLWordPrintable

    • MOODLE_402_STABLE, MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-78349-main
    • Hide

      Notes

      This test must be repeated for:

      • Chrome
      • Firefox
      • Safari

      Testing

      1. Login as admin.
      2. Navigate to Site Admin > Plugins > Text editors > TinyMCE editor > RecordRTC.
      3. VERIFY that there is  a new setting "Audio format" with options Browser default and
        MP3.
      4. Select MP3
      5. Save changes
      6. Navigate to the edit profile page
      7. click the Record audio (mic) icon on the toolbar in the description field.
      8. Record something
      9. Attach the recorded audio.
      10. Confirm it plays back in the editor.
      11. In the menu, click View > Source Code.
      12. VERIFY that the src attribute in the source tag has a URL with an MP3 extension. Copy the URL. We are going to download it later.
      13. Save.
      14. Visit your profile.
      15. VERIFY it plays there as well.
      16. Download the MP3 by accessing the copied URL.
      17. Open new browser tab and access https://www.metadata2go.com/view-metadata to check the MP3 metada
      18. Upload the downloaded MP3
      19. VERIFY the result shows the file_type is MP3
      Show
      Notes This test must be repeated for: Chrome Firefox Safari Testing Login as admin. Navigate to Site Admin > Plugins > Text editors > TinyMCE editor > RecordRTC. VERIFY that there is  a new setting "Audio format" with options Browser default and MP3 . Select MP3 Save changes Navigate to the edit profile page click the Record audio (mic) icon on the toolbar in the description field. Record something Attach the recorded audio. Confirm it plays back in the editor. In the menu, click View > Source Code. VERIFY that the src attribute in the source tag has a URL with an MP3 extension. Copy the URL. We are going to download it later. Save. Visit your profile. VERIFY  it plays there as well. Download the MP3 by accessing the copied URL. Open new browser tab and access https://www.metadata2go.com/view-metadata to check the MP3 metada Upload the downloaded MP3 VERIFY the result shows the file_type is MP3
    • Hide

      Code verified against automated checks.

      Checked MDL-78349 using repository: https://github.com/meirzamoodle/moodle.git

      More information about this report

      Built on: Mon Jan 13 07:19:51 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-78349 using repository: https://github.com/meirzamoodle/moodle.git main (0 errors / 0 warnings) [branch: MDL-78349-main-2 | CI Job ] More information about this report Built on: Mon Jan 13 07:19:51 AM UTC 2025
    • Show
      Launching automatic jobs for branch MDL-78349 -main-2 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17881/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60966/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60967/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60968/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/60969/ App tests (stable app version) Built on: Mon Jan 13 08:25:16 AM UTC 2025
    • 10
    • Team Dragons 2025 Sprint 1.2

      Originally, this improvement was created for Atto in MDL-72136.

      But Atto has now been identified for removal so it would be good to bring this feature to TinyMCE.

       

      At the moment, the format of the audio recording is OGG and it can not be played on some devices. Example: Apple devices like iPhone, iPad...

      We already improved the VideoJS player to support playing this format on Apple devices, but it would be good if we can use a 'universal' format so users can use any player if they want in Moodle.

      ==============

      Original description from the  MDL-72136.

      The 'problem' is that staff aren't au-fait with open-source A/V formats, and thus OGG and WEBM scare them.

      So the suggestion is to convert the submitted recordings to MP3 for audio.

       

            meirza.arson@moodle.com Meirza
            huongn@moodle.com Huong Nguyen
            David Woloszyn David Woloszyn
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Time Spent - 1 week, 2 days, 5 hours, 5 minutes Remaining Estimate - 1 hour, 5 minutes
                1h 5m
                Logged:
                Time Spent - 1 week, 2 days, 5 hours, 5 minutes Remaining Estimate - 1 hour, 5 minutes
                1w 2d 5h 5m

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