cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
390
Views
1
Helpful
1
Replies

WXCC Desktop Layout- iframe component camera,mic permissions

sanjeevwagh1
Level 1
Level 1

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]
}
}
}
}

1 Accepted Solution

Accepted Solutions

sanjeevwagh1
Level 1
Level 1

I found the solution. 

The correct method is using

"allowedParams": "clipboard-read; clipboard-write; camera; microphone self {URL}"

View solution in original post

1 Reply 1

sanjeevwagh1
Level 1
Level 1

I found the solution. 

The correct method is using

"allowedParams": "clipboard-read; clipboard-write; camera; microphone self {URL}"