night-video-tuner
night-video-tuner copied to clipboard
Select a video area
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.
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. 😉
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
.