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

Atto recordrtc (record audio/video) plugin only works in the first editor on a page

    XMLWordPrintable

Details

    • MOODLE_35_STABLE, MOODLE_38_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide

      This can be tested on any page with more than one Atto editor. Below is just one example, but it is sufficient.

      Note: audio/video recording is only supported in some browsers. Anyway, given the nature of the fix, it is probably OK to only test in one browser.

      1. Go to the question bank in any course.
      2. Click Create question, and select 'Description' type.
      3. On the form, record some audio or video into the 'Question text'.
      4. Verify that it works
      5. Now try to record something in the 'General feedback'.
      6. Verify that it works
      7. Try some other things (e.g. closing the dialogue without inserting the recording; closing the dialogue while recording is in progress, without stopping it.)
      Show
      This can be tested on any page with more than one Atto editor. Below is just one example, but it is sufficient. Note: audio/video recording is only supported in some browsers. Anyway, given the nature of the fix, it is probably OK to only test in one browser. Go to the question bank in any course. Click Create question, and select 'Description' type. On the form, record some audio or video into the 'Question text'. Verify that it works Now try to record something in the 'General feedback'. Verify that it works Try some other things (e.g. closing the dialogue without inserting the recording; closing the dialogue while recording is in progress, without stopping it.)

    Description

      Steps to reproduce:

      1. Go to any page that contains more than one Atto editor (e.g. https://qa.moodledemo.net/question/question.php?courseid=2&qtype=description&category=2, or a quiz with more than one essay question - that allows embedded files - on one page).
      2. Try to record either audio or video in one editor (this will work).
      3. Then go to a different atto editor and try to record something.

      Expected result: It works.

      Actual result: Nothing happens when you click the 'Start recording' button.

      As far as I can see, there is no error in the JavaScript console. 

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              dsoini Diane Soini
              Sam Marshall Sam Marshall
              Jun Pataleta Jun Pataleta
              Anna Carissa Sadia Anna Carissa Sadia
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jul/20

                Time Tracking

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