Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webcam.Pause() sorely missed #12

Closed
adamjbradley opened this issue Apr 17, 2014 · 12 comments
Closed

Webcam.Pause() sorely missed #12

adamjbradley opened this issue Apr 17, 2014 · 12 comments

Comments

@adamjbradley
Copy link

Would love to see it back!
//Adam

@jhuckaby
Copy link
Owner

I've never heard of Pause() before. This is a brand new library. Did I remove it? Where did you see it? What would you like it to do? You can effectively pause the webcam by taking a snapshot, calling Webcam.reset() and placing your captured image where the webcam DIV used to be.

@whimsicaldreamer
Copy link

I tried what you said. It worked. But now what if I dont like the snapped image and want to take a resnap in the same webcam DIV without reloading the page? Resetting the library and attaching the cam div creates another div

@whimsicaldreamer
Copy link

@jhuckaby is there a way to the above thing?

@adamjbradley
Copy link
Author

Do you have a JSFiddle showing the behavior?
On 09/07/2014 1:55 AM, "whimsicaldreamer" notifications@github.com wrote:

@jhuckaby https://github.com/jhuckaby is there a way to the above thing?


Reply to this email directly or view it on GitHub
#12 (comment).

@whimsicaldreamer
Copy link

Currently NO. But I have been testing it on local server(WAMP). If you require I will send you the files.

@adamjbradley
Copy link
Author

Please create a JSFiddle, in my experience, that's the most reliable way to
get a result!

Sincerely,
Adam

| Identity Concepts
| im: adam_j_bradley@hotmail.com
| skype: adam_j_bradley
| “I’d put my money on the sun and solar energy. What a source of power! I
hope we don’t have to wait till oil and coal run out before we tackle
that.” [ Thomas Alva Edison ]

On Wed, Jul 9, 2014 at 1:29 PM, whimsicaldreamer notifications@github.com
wrote:

Currently NO. But I have been testing it on local server(WAMP). If you
require I will send you the files.


Reply to this email directly or view it on GitHub
#12 (comment).

@whimsicaldreamer
Copy link

Issue solved :)
I created a new function in the index file which solved my problem and your problem too( hope so :) )

@whimsicaldreamer
Copy link

But there still exist a tiny problem. The live camera preview and the captured image are not the same size. (Not using dest_width and dest_height)
I will create the JSFiddle soon.

@whimsicaldreamer
Copy link

@adamjbradley i have mailed you the files. Take a look at them.

@jhuckaby
Copy link
Owner

jhuckaby commented Sep 6, 2014

Hey guys, this has been implemented. WebcamJS now supports freeze() and unfreeze() which should work as expected.

Live Demo: http://pixlcore.com/demos/webcamjs/demos/preview.html

@jhuckaby jhuckaby closed this as completed Sep 6, 2014
@adamjbradley
Copy link
Author

Super! Thank you. Will test in the next couple of days.

@andrej2704
Copy link

here is I created jsfiddle from the demo https://jsfiddle.net/ebv2m3jc/ just in case

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

No branches or pull requests

4 participants