Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Get Display Media for an iFrame

I am using iframe to open a Jitsi meeting room. This meeting room has video/audio/screen-sharing features. Now my issue is that since it is an iframe, I have to allow permissions for the display media. I do that as you can see given below but I also get these errors:

errorMsg: "Failed to execute 'getDisplayMedia' on 'MediaDevices': Access to the feature \"display-capture\" is disallowed by permission policy."
errorName: "SecurityError"
errorStack: "Error: Failed to execute 'getDisplayMedia' on 'MediaDevices': Access to the feature \"display-capture\" is disallowed by permission policy.\n

Why does this happen and how can I overcome it so that my browser (Chrome/Firefox) can display options for camera, microphone and screen-share?

<iframe id="PDF_iframe" src="https://myHost121.de/downloads/index.html" style="
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 60%;
    width: 60%;
    z-index: 2;
    display: Block;
    allow: camera; microphone; display-capture; autoplay; clipboard-write;
  ">
    </iframe>

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

the allow is in the css styles. it should be an attribute

<iframe id="PDF_iframe" src="https://myHost121.de/downloads/index.html" style="position: fixed; top: 0; bottom: 0; left: 0; right: 0; margin: auto; height: 60%; width: 60%; z-index: 2; display: block;" allow="camera; microphone; display-capture; autoplay; clipboard-write;"></iframe>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!