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

width and height of video element are not consistant with the canvas element #15

Open
bmabir17 opened this issue Jan 24, 2021 · 1 comment

Comments

@bmabir17
Copy link

After the image is captured from the video element and drawn into canvas the width and height of the canvas should have been the same as the video element according to this. But that is not the case.
Screenshot_2021-01-24-13-40-00-328_com android chrome-COLLAGE

@deadlyedge
Copy link

you could download the JS file 'webcam-easy.js' and edit it from 'scrollHight' to 'videoHight' and so to 'scrollWidth'.
remember to delete the word 'export default' from the top of the file.
I'm not familiar with javascript, I just tried and so far so good.

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

2 participants