• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 3

Back camera

How use back camera in this code? https://sololearn.com/compiler-playground/WVr5WDvwMD9i/?ref=app

htmljavascriptcamera
17th Aug 2024, 10:41 AM
3legsbird
3legsbird - avatar
1 Answer
+ 6
you will need the user's consent, and it is only available in secure contexts. https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
17th Aug 2024, 12:10 PM
Lisa
Lisa - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Which is easier to learn first between python and JS?
0 Votes
API
0 Votes
Does sololearn teaches on how to create games
0 Votes
Help for roadmap
0 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
NecesitĂł ayuda
0 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes