I am using SF Canvas to embed an external Web Application in a VisualForce page in my org. The content is being successfully loaded in an IFrame in the browser. The page needs access to the USB feature (FeaturePolicy usb) which is set by the external server as header. Inside the IFrame, the feature is disabled. Is there a way to set it for the frame by setting an HTML Attribute like this:

<iframe allow="usb *">

Or maybe another way to solve the issue?

New contributor
AHH is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

AHH is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.