10-19-2023 03:16 PM
Hi,
I am trying to embed an iframe within WXCC desktop layout under navigation area. I am able to load the iframe fine however there is no access to microphone, camera, clipboard etc. I did include the allow property for iframe but not sure if this is the correct approach. Can someone help on this?
{
"nav" : {
"label" : "TCL PS-LAB",
"icon" : "https://raw.githubusercontent.com/wxcctechsummit/holcct2100/main/labslive/CiscoLiveLogo.jpg",
"iconType" : "other",
"navigateTo" : "booking",
"align" : "top"
},
"page" : {
"id" : "booking",
"widgets": {
"left": {
"comp": "agentx-wc-iframe",
"attributes": { "src" : "https://dev1.visitizedev.in/iframe/" , "allow" : "camera,microphone,clipboard-read,clipboard-write"},
"wrapper": { "title": "TCL PS-LAB", "maximizeAreaName" : "app-maximize-area" }
}
},
"layout": {
"areas": [["left"]],
"size": {
"cols": [1],
"rows": [1]
}
}
}
}
Solved! Go to Solution.
10-24-2023 07:37 AM
I found the solution.
The correct method is using
"allowedParams": "clipboard-read; clipboard-write; camera; microphone self {URL}"
10-24-2023 07:37 AM
I found the solution.
The correct method is using
"allowedParams": "clipboard-read; clipboard-write; camera; microphone self {URL}"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide