WesselKroos / youtube-ambilight

This browser extension adds ambient light to YouTube videos
MIT License
78 stars 8 forks source link

Add support for other sites #211

Closed SkipRollins closed 5 months ago

SkipRollins commented 5 months ago

Ambient light is a great way to watch full screen video content on oled monitors when the content dies not full the screen to prevent uneven burn in from the black bars the ambient light fills. This would be great on other sites as well. Is it possible for ambient light support to be added to more sites than just YouTube?

WesselKroos commented 5 months ago

Thanks for the suggestion. It's something I'm not planning to add to this extension, but I've slowly been preparing the code for sharing the core ambient light effect with a new and more general ambient light extension.

This is due to the settings menu being integrated into the YouTube player and some other functionalities being specific to the YouTube layout. Once the core functionality has been separated enough I might take a crack at a new extension that supports any webpage with a video element. I'll let you know in this issue once there is a testable version of a new extension.

SkipRollins commented 5 months ago

That is very exciting to hear! Thank you!

WesselKroos commented 5 months ago

For now I'm going to misuse this issue as a progress/todo log

I've been playing around with a generic ambient light effect on any video element on any website. It mostly works, but here are the details/limitations that require attention:

Sites on which it worked

YouTube

image image image

Vimeo

image

France24

image

Nu.nl

image

Local files

image

Sites with layout issues

Formula 1

image

Formula 1 TV Pro

image

BBC

image

Twitch

image

image image

brutlern commented 5 months ago

Awesome sauce.