Forum Discussion

DanAdams-9ad8e6's avatar
DanAdams-9ad8e6
Community Member
2 months ago

Allowing microphone access on embedded web app

I have embedded a web app into my Storyline via a web object, and do not seem to be able to find any way to allow the Storyline to access the user's microphone.

 

How do I go about allowing the embedded page to access the user's microphone?

  • JoseTansengco After some testing and changes I have been able to get an iframe to request microphone access - but it does not transmit the audio from the mic to the iframe. This is happening in both Storyline and Rise.

     

    Is there an iframe setting that should be enabled to allow the transmission of microphone audio to the frame? Thanks in advance.

      • DanAdams-9ad8e6's avatar
        DanAdams-9ad8e6
        Community Member

        Hi there,

         

        Thanks for the reply - but no, it is not to do with that unfortunately. That is a response on the part of the app when it is receiving no mic input.

        The issue appears to be that the iframe refuses to receive audio - and this occurs on both Rise and Storyline when published as an uploadable LMS package. While it works in Rise's builder and preview it still fails when it is a package uploaded to an LMS.

        Any info/solutions are highly appreciated, thank you for your time so far.

  • Hello,

    Thanks for the info - however, I cannot find where these iframes would be added. Where in the package should I be adding these permissions?

    • LucianaPiazza's avatar
      LucianaPiazza
      Staff

      Hi DanAdams-9ad8e6

      I'm happy to help! 

      Could you please share your current iframe code in this thread? It will be helpful to see the existing code along with your .story file in order to recommend placement! 

      Looking forward to hearing from you! 

      • DanAdams-9ad8e6's avatar
        DanAdams-9ad8e6
        Community Member

        Hello,

        I would love to - if I knew where to find it! Could you please advise on exactly which file the iframe code can be found in? In the meantime, here is the slide/web object in question.

        Thanks in advance!

  • Hi DanAdams-9ad8e6,

    Happy to help!

    You can try modifying your iframe to add the allow tags and specify the exact permissions you need. Example:

    <iframe src="..." allow=”autoplay; microphone”></iframe>

    Hope this helps!