Camera"
From Documentation
Charlesqiu (talk | contribs) |
Charlesqiu (talk | contribs) |
||
Line 8: | Line 8: | ||
= Example = | = Example = | ||
− | When using the camera, the first thing after the page loaded is to request user's camera and microphone, if user accept this request, user can start to record the video or taking the snapshot, if user reject this request, user will not be able to use the camera | + | When using the camera, the first thing after the page loaded is to request user's camera and microphone, if user accept this request, user can start to record the video or taking the snapshot, if user reject this request, user will not be able to use the features of camera. |
[[File:RequestCamera.png]] | [[File:RequestCamera.png]] | ||
Revision as of 06:35, 23 April 2018
Camera
Employment/Purpose
A camera component is used to record the video and take the snapshot at the browser. Developers can control the action of the camera by the start, stop, pause, resume and snapshot methods.
Example
When using the camera, the first thing after the page loaded is to request user's camera and microphone, if user accept this request, user can start to record the video or taking the snapshot, if user reject this request, user will not be able to use the features of camera.
<camera width="600px" />