AbdulrahmanMasoud / open-camera-on-browser-using-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

open-camera-on-browser-using-js

This function to open camera on browser and take a photo using javascript


If You Want To Use It

Just make a video Element In Your HTML code and give it ID and make a button to start recording when you click on it

And make a canvas Element and give it id to use it and make a button to call takephoto() Function to when yom click on it draw a photo and but it in canves Element

About


Languages

Language:HTML 54.7%Language:JavaScript 45.3%