Error on audio recorder (Access to microphone is not allowed / Microphone not supported)

Hi there,

We've realized that the audio recorder content type in not working in Firefox (both on Ubuntu 18.04 or Windows 10) nor in Chrome on Ubuntu 18.04.

The message is different in Firefox and in Chrome, so I don't really know if it is the same issue or if they are unrelated.

  • In Firefox (both on Ubuntu 18.04 or Windows 10) the H5P content displays but we get this message when trying to record:

Access to microphone is not allowed in your browser since this page is not served using HTTPS. Please contact the author, and ask him to make this available using HTTPS

(Note that full HTTPS is used both on our Moodle instance and h5p.org, so the message seems unaccurate)

  • In Chrome on Ubuntu 18.04 the H5P content doesn't display at all and shows this message:

Microphone not supported. Make sure you are using a browser that allows microphone recording.

Being that the case, I don't really know what kind of technical information can be meaningful, but:

- We've tried both from Moodle and directly from https://h5p.org/audio-recorder so I guess it is not related to our LMS

- It works fine both in Chrome on Windows and in Chromium on Ubuntu.

- We've tried on different devices, so I guess it is not a HW issue

- We don't get any browser console/PHP errors

- We're using the latest versions of the browsers.

Any help will be appreciated.

Content types: 
BV52's picture

Hi izendegi,

I've filed a bug report on the Firefox issue.

For the issue with Chrome I would suggest that you provide a test page so that we can check.

-BV

I have recently met the same error, firefox does not work, so I have to use Chrome instead. In Chome, I have to also change the default microphone setting manually, and then it will work.

otacke's picture

Please note that the H5P Audio Recorder will also hint to the page as being "not served using HTTPS" if the user does not allow access to the microphone on the respective page.

Thank you for the info, and it works in Chrome, but still not Firefox. And I have tried the Firefox setting in Window/Mac, there seems no block for the microphone, but have not found any microphone in the setting. Strangely, I tested from https://www.onlinemictest.com, it works normally.

otacke's picture

Hi!

This is most likely due to insufficient rights granted within the HTTP Media Policy, cmp. https://h5p.org/node/904272 It's up to the H5P core team to review my suggestion to fix this problem, see https://github.com/h5p/h5p-wordpress-plugin/pull/114

Best,

Oliver 

Good morning,

Thank you very much for the information.