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

Editing audio/video elements in TinyMCE produce a new element.

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE
    • MDL-77290-401
    • MDL-77290-master
    • Hide

      Covered by the newly created Behat test.

      Manual testing is below

      1. Log in as admin.
      2. Change the editor to the New Tiny editor.
      3. Click on the User profile menu -> Profile.
      4. Click on the Edit profile link.
      5. Click on the Multimedia button in the Description.
      6. Switch to the Video tab.
      7. Verify that the dialogue has 2 buttons: Insert media and Cancel.
      8. Click the Browse repositories... button.
      9. Upload a video.
      10. Click the Insert media button.
      11. Verify that the video was inserted into the Tiny editor's content.
      12. Click on the inserted video element.
      13. Click on the Multimedia button in the Description.
      14. Verify that the Video source URL is filled in.
      15. Verify that the dialogue has 2 buttons: Update media and Cancel.
      16. Expand Display options and Advanced settings sections.
      17. Set the values for the following fields:
        • Enter title: Test title
        • Show controls: Checked
        • Play automatically: Checked
        • Muted: Checked
        • Loop: Checked
      18. Click the Update media button.
      19. Verify that there is no new video element was inserted into the Tiny editor's content.
      20. Click on the video element.
      21. Click on the Multimedia button in the Description.
      22. Verify that all the values match in step 17.
      Show
      Covered by the newly created Behat test. Manual testing is below Log in as admin. Change the editor to the New Tiny editor. Click on the User profile menu -> Profile. Click on the Edit profile link. Click on the Multimedia button in the Description. Switch to the Video tab. Verify that the dialogue has 2 buttons: Insert media and Cancel. Click the Browse repositories... button. Upload a video. Click the Insert media button. Verify that the video was inserted into the Tiny editor's content. Click on the inserted video element. Click on the Multimedia button in the Description. Verify that the Video source URL is filled in. Verify that the dialogue has 2 buttons: Update media and Cancel. Expand Display options and Advanced settings sections. Set the values for the following fields: Enter title: Test title Show controls: Checked Play automatically: Checked Muted: Checked Loop: Checked Click the Update media button. Verify that there is no new video element was inserted into the Tiny editor's content. Click on the video element. Click on the Multimedia button in the Description. Verify that all the values match in step 17.
    • 2
    • Team Hedgehog Sprint 2.1, Team Hedgehog Sprint 2.2

      A user inserts video or audio with the multimedia plugin and then editing it, the editor will generate a new video/audio element.

      This issue was created to fix the above problem, so when a user edits video or audio, the editor will keep the existing element without generating a new one.

        1. (I) Passed -- (401)MDL-77290.png
          69 kB
          Kim Jared Lucas
        2. (I) Passed -- (Master)MDL-77290.png
          69 kB
          Kim Jared Lucas
        3. mdl77290-2023-02-21_17.45.49.mp4
          1.33 MB
          Meirza

            huongn@moodle.com Huong Nguyen
            meirza.arson@moodle.com Meirza
            Meirza Meirza
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            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 - 1 day, 2 hours, 12 minutes
                1d 2h 12m

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