We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is code, its now working properly on iphone, device open instead of web camera, anyone can help me?
Webcam.set({ width: 150, height: 150, dest_width: 640, dest_height: 480, image_format: 'jpeg', jpeg_quality: 90, });
Webcam.attach( '#my_camera' ); var shutter = new Audio(); shutter.autoplay = true; function take_snapshot() { var take = $(".snap").data('val'); shutter.src = '/public/assets/sounds/shutter.mp3'; Webcam.snap( function(data_uri) { $(".image-tag").val(data_uri); }); Webcam.freeze(); $(".snap").html(''); $("#exampleModalPreview").modal('toggle'); } Webcam.on( 'error', function(err) { shutter.src = '/public/assets/sounds/error.mp3'; shutter.play(); $(".snap").data('val', "error"); }); Webcam.on( 'load', function(err) { $(".snap").data('val', "take"); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is code, its now working properly on iphone, device open instead of web camera, anyone can help me?
Webcam.set({
width: 150,
height: 150,
dest_width: 640,
dest_height: 480,
image_format: 'jpeg',
jpeg_quality: 90,
});
The text was updated successfully, but these errors were encountered: