Legacy Dev Forum Posts

 View Only

Sign Up

Admin script using webpage and microphone and camera

  • 1.  Admin script using webpage and microphone and camera

    Posted 06-05-2025 18:49

    Anamika_Saxena | 2020-06-19 20:05:06 UTC | #1

    Hello all, We are using a Genesys admin script to embed a webpage in the script as part of chat interaction. The webpage will be connecting to vidyo resource and using the microphone and camera of the Genesys user. Does anyone know if there will be an issue with us using the camera and microphone/speaker in this embedded webpage running on Genesys portal? Thanks in advance!


    Jerome.Saint-Marc | 2020-06-29 17:06:59 UTC | #2

    Hello,

    You would probably have to try to be sure. But I think there will be an issue.

    I don't have such a page (which would require microphone/camera access) to make a complete test. But I have created a sample Script, embedding a Web Page object in it. When rendered in the PureCloud client, the Web Page is contained in an iframe. But the iframe does not have any value set in the "allow" attribute (camera, microphone). See here for information on Feature Policy: https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy

    On the contrary, when you display a page via a Custom Client Application, the iframe displayed in the PureCloud client has its "allow" attribute set to "camera; microphone; geolocation;" (enabling access to camera, microphone and location).

    Hope this helps.

    Regards,


    Anamika_Saxena | 2020-06-29 22:06:05 UTC | #3

    Thanks a lot for your response! We will test it our end as you suggested. We have to make it work in Chrome so I dont know if that makes any difference - perhaps not! Once again, this has been very helpful!


    system | 2020-07-30 22:06:07 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 8035