Better HN
topnewbestaskshowjobs
Log inSign up

zimzi

5 karma · joined Jul 23, 2025 (1y ago) · 1 submissions

zimzimzi@proton.me
Submissions

comment 1y ago · link · parent

Generally no - cross origin iframes don't allow camera/audio by default. Even if the toplevel site allows it (via https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameE...), user still needs to grant permissions to toplevel site. Of course you can still use window.open and top.location.href in the iframe and use the same trick as in the article.