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

Taking still photos with getUserMedia(): inaccurate info about CSS filters #8569

Open
bambury opened this issue Sep 2, 2021 · 3 comments
Open
Labels
area: MediaStreams Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@bambury
Copy link

bambury commented Sep 2, 2021

MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Media_Capture_and_Streams_API/Taking_still_photos

What information was incorrect, unhelpful, or incomplete?

The following bit of text seems to be untrue (tested on Firefox 91.0.2 and Chromium 93.0.4577.63):
"Since we're capturing images from the user's webcam by grabbing frames from a <video> element, we can very easily apply filters and fun effects to the video. As it turns out, any CSS filters you apply to the element using the filter property affect the captured photo"

The filter applied to the #video element does not apply to the image shown as the #photo element

Specific section or headline?

Fun with filters

What did you expect to see?

Accurate information

Did you test this? If so, how?

Tested in Firefox and Chromium as stated above, by adding a filter to the #video element in the CSS file

MDN Content page report details
@sideshowbarker

This comment was marked as outdated.

@sideshowbarker sideshowbarker added the closed: duplicate This issue or pull request already exists label Sep 3, 2021
@bambury

This comment was marked as outdated.

@sideshowbarker

This comment was marked as outdated.

@sideshowbarker sideshowbarker reopened this Sep 4, 2021
@sideshowbarker sideshowbarker added Content:CSS Cascading Style Sheets docs Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help! and removed closed: duplicate This issue or pull request already exists Content:CSS Cascading Style Sheets docs labels Sep 4, 2021
@Rumyra Rumyra added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Nov 25, 2021
@sideshowbarker sideshowbarker removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jun 25, 2022
@Josh-Cena Josh-Cena added the area: WebRTC Needs help from someone with WebRTC domain knowledge label Jun 26, 2023
@Josh-Cena Josh-Cena changed the title Issue with "Taking still photos with WebRTC": inaccurate info about CSS filters and broken link to sample Jun 5, 2024
@Josh-Cena Josh-Cena added area: MediaStreams and removed area: WebRTC Needs help from someone with WebRTC domain knowledge labels Jun 5, 2024
@Josh-Cena Josh-Cena changed the title Taking still photos with getUserMedia(): inaccurate info about CSS filters and broken link to sample Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: MediaStreams Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
4 participants