Audio recorder - https-error
Hi!
I am trying to use the audio recorder tool in my LMS. I have my course in Simplero and usually embed the code from the WP plugin in the lessons.
This usually works except for some size issues. However, with the audio recorder I get a https error when I press "ta opp/record".
Simplero-support says that the problem isn´t within their platform. They have tested it on a different site and got the same error.
When I use the code on a WP-site, the audio recorder works.
Why doesn´t it work when I embed the code?
Any ideas on what I can do to make it work?
This is the code:
<iframe src="https://www.norsksonen.com/wp-admin/admin-ajax.php?action=h5p_embed&id=761" width="957" height="512" frameborder="0" allowfullscreen="allowfullscreen" title="Æ-lyd1"></iframe><script src="https://www.norsksonen.com/wp-content/plugins/h5p/h5p-php-library/js/h5p..." charset="UTF-8"></script>
Resize:
<script src="https://www.norsksonen.com/wp-content/plugins/h5p/h5p-php-library/js/h5p..." charset="UTF-8"></script>
This is the error message.
Access to the microphone is denied in this browser since the page doesn´t have HTTPS.
Please contact the author and ask him/her to make it available with HTTPS.
(translated from Norwegian)
I use Chrome as my browser.
Please, help me.
BV52
Thu, 11/11/2021 - 18:04
Permalink
Hi Takita,This forum thread
Hi Takita,
This forum thread might help with your issue.
-BV
Takita
Thu, 11/11/2021 - 18:13
Permalink
Yes. This seems to be the
Yes. This seems to be the same problem. Thanks. :)
But I don´t understand the solution. Could you please help me understand? I´m not very good at all of this technical stuff, but I´m trying to learn. :)
Where do I need to look to change settings?
Was it a browser issue? A WP issue?
Will this fix things for the users as well?
otacke
Thu, 11/11/2021 - 18:48
Permalink
Hei Takita! It means that you
Hei Takita!
It means that you should add
allow="microphone *"
to the iframe element HTML code. Still, this may not solve the issue if Simplero removes this attribute from the iframe code (like Discourse does in the example that BV linked to) or if Simplero overrule this attribute in their server settings.
Ha det bra,
Oliver