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

257
Views
open cam without user permission in react js

how to open camera without user permission in react-webcam and when the user turn it off close the page


function Quiz1page1() {
const webRef=useRef(null);
const webStyle={
  position:'relative',left:'600px',top:'300px'
}

return (
  <div className='Content'>
    <fieldset className='bg-light  '>
      <p className='question  p-2' > What is the capital of England?</p>      
<input className='answers' type="text" id="text" name="fav_language" />
</fieldset>

<Link to="/Quiz1page2">
<button id='SubmitBtn' className='Next btn btn-dark mt-3 btn'>Next</button>
</Link>
<Webcam style={webStyle}  audio={false} width={350} refs={webRef} />
<br/>
  </div>
)
}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This is not possible on most of the devices configuration. Fortunately because that is an privacy violation act

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!