ng-camera
ng-camera copied to clipboard
How to stop camera without refresh?
Hi, first of all thanks for your help with this. I want to know how to stop using camera once I got shot the picture. Can you help us?
Hi, have you successfully uploaded the captured image into php server? example after capturing the image you will save it temporarily and upload it to php server... Please reply i really need it.
@CodeBreaker30 Wrap it in a div and use ng-if
<div ng-if="!vm.picture">
<md-camera
capture-message="Cheeeese!"
output-height="320"
output-width="426"
crop-height="320"
crop-width="320"
viewer-height="160"
viewer-width="213"
image-format="jpeg"
jpeg-quality="100"
action-message="Take picture"
snapshot="vm.picture"
shutter-url="sounds/shutter.ogg">
</md-camera>
</div>
@CodeBreaker30 This will just hide the view of camera, but still camera will get accessed by our browser, I am also looking for a solution, to on/off the camera manually using a button 🙃