Audio recorder - https

Hi!

I use H5P through Skoletube in Denmark. I've created an audio recorder, that I first published to Skoletube (https://www.skoletube.dk/video/6087700/cba4d713aede58617cada3ca41e46fa3), but when I click on record (indtal) I get an error (see attachtment). I then tried to embed it on a google sites (https://sites.google.com/view/lavindtaling/start), but I get the samme error. Both skoletube and the google sites is https, so I don't know what to try or do to make it work. Any suggestions?

Sincerely, Susanne Christensen 

The embed code for the audio recorder I've made: <iframe src="https://susa2027h5pcloud163663975.skoleblogs.dk/wp-admin/admin-ajax.php?..." width="862" height="484" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://susa2027h5pcloud163663975.skoleblogs.dk/wp-content/plugins/h5p/h..." charset="UTF-8"></script>

BV52's picture

Hi susa2027,

This is because of browser security features that won't let embedded objects to access the microphone (including the camera). To resolve this you need to add something in the embed code and it should be similar to what I posted here.

-BV

Thanks BV. I went on a search through your site and found your link a couple hours ago. I got it to work in skoletube (though a bit of a workaround, it would be better if allow michrophone was added within the code when we publish to skoletube in the h5p tool, because then it would be easier to share from skoletube), but can't get it to work on google sites. But for now I found a work around.

Thanks for your help!

otacke's picture

Hi all!

There's a discussion at https://h5p.org/comment/35346.

Best,
Oliver