Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Permissions Policy - Google Chrome

$
0
0

I want to add a js plugin to my page, this works in firefox and safari but does not work in chrome (latest version: 123.0)

I get this error in the console: [Violation] Permissions policy violation: microphone is not allowed in this document.

I have already included this plugin in the iframe and given the necessary permissions:

<iframe src="https://example.js" allow="camera https://example.js;microphone https://example.js;autoplay;display-capture;fullscreen;geolocation;picture-in-picture; speaker-selection;screen-wake-lock;web-share" id="xChatModal" class="modal" style="width: 100%; height: 25%; z-index: 100;">

How can I make this work for Chrome?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>