Download photos and videos To the site online?

Good day!
The task of the next. On the website in the personal Cabinet the user must have the ability to upload photo/video materials. But photos and videos should be taken only that. That is, the user should only be able online to take pictures and videos, and from the library upload photos/video capabilities should not be.
April 19th 20 at 12:31
1 answer
April 19th 20 at 12:33
In Google a lot of answers on this topic. The simplest way to add the button type for files, and to query the Java script to the camera.
Here is an example for a "selfie" on js'e.

Find more questions by tags HTMLJavaScript