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

Select a video area #6

Open
MMarty11 opened this issue Mar 2, 2021 · 2 comments
Open

Select a video area #6

MMarty11 opened this issue Mar 2, 2021 · 2 comments

Comments

@MMarty11
Copy link

MMarty11 commented Mar 2, 2021

Hi, would it be possible to implement a function to select only a video area in which to apply the extension? My problem is that using it on Microsoft Stream to see university lectures, setting the "invert" feature makes the edges of the video that would be dark become very light. Or maybe do you have any other ideas to solve the problem?
I hope I have made the idea and that you accept my request, thanks.

@PyvesB
Copy link
Owner

PyvesB commented Mar 4, 2021

Hello @MMarty11 ! 👋🏻

Thanks for the suggestion. As far as I know, browsers don't support applying the CSS filters used by this extension to specific video areas. However, if you or someone else comes up with a way to do this, feel free to submit a pull request, I'll be happy to take a look at it. 😉

@Ghost4Man
Copy link
Contributor

Ghost4Man commented Mar 4, 2021

Maybe you could overlay a div (or a pseudoelement) on top of the video and use backdrop-filter (working example: https://jsfiddle.net/gykpews4/2/). In Firefox it currently has to be enabled manually in about:config > layout.css.backdrop-filter.enabled.

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

3 participants