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

BUG: Duplication on webcam id #134

Open
LazeMSS opened this issue Feb 24, 2022 · 1 comment
Open

BUG: Duplication on webcam id #134

LazeMSS opened this issue Feb 24, 2022 · 1 comment

Comments

@LazeMSS
Copy link

LazeMSS commented Feb 24, 2022

On this line

var camView = $("#webcam_rotator").clone();

you are making a clone of the webcam div - but keeping the id webcam_rotator - this is not allowed. The DOM ID must be unique.

And easy fix could be to change the ID(s) of the clone and of course fixing the CSS assinged to the id (

)

This causes problems for my plugin UI Customizer and also other code that expects the webcam_rotator to be a unique id

@LazeMSS
Copy link
Author

LazeMSS commented Feb 24, 2022

It also looks like there is a call to the internal "_enableWebcam();" function - and its also stopped and started here:

self.controlViewModel._disableWebcam();

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

1 participant