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

fix: ignore crossorigin in cameras by default #1152

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

pedrolamas
Copy link
Member

In v1.25.0 we added a new crossorigin="anonymous" attribute to the <video> and <img> elements used by the cameras, but this introduced a bug where cameras that are accessed across domains without Access-Control-Allow-Origin "*" header set by the server would fail to load with a CORS error.

This PR adds a new crossorigin property that allows setting the attribute when needed, but defaults to undefined so it won't get output in that case.

Fixes #1150

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas added the GH - Bug Something isn't working label Aug 15, 2023
@pedrolamas pedrolamas added this to the 1.25.2 milestone Aug 15, 2023
@pedrolamas pedrolamas merged commit 6e57724 into fluidd-core:develop Aug 15, 2023
3 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/fix-1150 branch August 15, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webcam does not show in multi instance Fluidd
1 participant