"Unrecognized origin" warnings?
johndevor opened this issue · 1 comments
johndevor commented
I get these warnings when running my Iframe component with the corresponding 'allow' variables set.
Unrecognized origin: 'microphone'.
Unrecognized origin: 'camera'.
Unrecognized origin: 'midi'.
This is the iFrame generating the warnings:
<Iframe
url={pageUrl}
width="100%"
height="100%"
id={'iframe__' + props.id}
display="absolute"
position="relative"
frameBorder="0"
allow="microphone camera midi"
/>
CezaryDanielNowak commented
allow
takes different format:
feature_name origin;
So in your case it should be
allow="microphone *; camera *; midi *;"