DEV Community

Cover image for Kant C 💩. A Javascript snippet to change YouTube video brightness
Adriano Galello
Adriano Galello

Posted on

1

Kant C 💩. A Javascript snippet to change YouTube video brightness

TL;DR https://gdi3d.github.io/change-youtube-videos-brightness/

Kant C shit Sample

I usually watch movies or YouTube videos with my external monitor. But sometimes the video is too dark and turning up the monitor's brightness it's not enough.

So I decided to create a small javascript snippet to fix this issue in any web that has a video on it.

It's call Kant C 💩 (can't see shit) and you can use it by pasting the snippet in the javascript console of your browser.

https://gdi3d.github.io/change-youtube-videos-brightness/

Demo

You can test it out on https://gdi3d.github.io/change-youtube-videos-brightness/demo.html

How does it work?

It uses the filter properties of CSS and it's applied to the video tag element present on the site.

It's safe?

Yes, but feel free to inspect the code at https://github.com/gdi3d/change-youtube-videos-brightness

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay