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

Audio media files are not working when adding them with the new TinyMCE editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1
    • 4.1
    • Text editor TinyMCE
    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-76278-master
    • Hide

      Configure editor plugin

      1. Log in as admin
      2. Navigate to Plugins > Text editors > Manage editors in site administration
      3. Enable the TinyMCE editor editor
      4. Navigate to Preferences from user menu
      5. Select User account > Editor preferences
      6. Choose TinyMCE editor as default text editor and save changes

      Manual testing

      1. Open the TinyMCE editor (for instance, in a forum).
      2. Add an MP3 (e.g. see attached huong.mp3, but it's failing with any audio file, at least MP3... I haven't tried other audio formats).
      3. Press the Play button
        1. Confirm that the audio plays
      4. Save changes.
        1. Confirm that you can play the audio after saving too
      Show
      Configure editor plugin Log in as admin Navigate to Plugins > Text editors > Manage editors in site administration Enable the TinyMCE editor editor Navigate to Preferences from user menu Select User account > Editor preferences Choose TinyMCE editor as default text editor and save changes Manual testing Open the TinyMCE editor (for instance, in a forum). Add an MP3 (e.g. see attached huong.mp3 , but it's failing with any audio file, at least MP3... I haven't tried other audio formats). Press the Play button Confirm that the audio plays Save changes. Confirm that you can play the audio after saving too

      Steps to reproduce

      1. Open the TinyMCE editor (for instance, in a forum).
      2. Add an MP3 (I've attached one file, but it's failing with any audio file, at least MP3... I haven't tried other audio formats).
      3. Save changes.

       

      Expected behaviour:

      The audio file can be reproduced (at least with Atto the same file is working properly). When the audio files are recorded using the RTC in TinyMCE, they are working as expected.

       

      Current behaviour:

      The audio player is disabled and the audio can't be reproduced:

        1. huong.mp3
          7 kB
        2. MDL-76278.mp4
          1.37 MB
        3. media_audio.png
          media_audio.png
          33 kB

            dobedobedoh Andrew Lyons
            sarjona Sara Arjona (@sarjona)
            Stevani Andolo Stevani Andolo
            Paul Holden Paul Holden
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 25 minutes
                2h 25m

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