Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

How to stop camera without refresh? #12

Open
CodeBreaker30 opened this issue Feb 19, 2016 · 3 comments
Open

How to stop camera without refresh? #12

CodeBreaker30 opened this issue Feb 19, 2016 · 3 comments

Comments

@CodeBreaker30
Copy link

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?

@CodeBreaker30 CodeBreaker30 changed the title How to stop catching camera without refresh? How to stop camera without refresh? Feb 19, 2016
@ghost
Copy link

ghost commented Mar 7, 2016

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.

@flick36
Copy link

flick36 commented May 7, 2016

@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>

@msameerbm
Copy link

@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 🙃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants