WesselKroos / youtube-ambilight

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

Add support for other sites #211

Closed SkipRollins closed 10 months ago

SkipRollins commented 10 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 10 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 10 months ago

That is very exciting to hear! Thank you!

WesselKroos commented 10 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

Plex web player

https://app.plex.tv/desktop/#!/ 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 10 months ago

Awesome sauce.

ClaudioCrespo commented 4 months ago

how about plex? (on the browser), oh man, that's all I need for my local files, I'm ready to donate more if that happens!

WesselKroos commented 4 months ago

how about plex? (on the browser), oh man, that's all I need for my local files, I'm ready to donate more if that happens!

Please don't donate until I find the time to create a first version. But the web player seems to work as well:

Plex web player

  • [ ] white background

image https://github.com/WesselKroos/youtube-ambilight/issues/211#issuecomment-1891012868

ccresz commented 3 months ago

How is this coming along, do you need a beta tester? I volunteer as a tribute!

WesselKroos commented 3 months ago

How is this coming along, do you need a beta tester? I volunteer as a tribute!

No updates yet. Once there's a testable version I'll let it know. Make sure to subscribe to this issue to get the notification when a testable version is available.

Luke0094 commented 2 months ago

While in it please test it also with yandex.ru/video, mail.ru/video and rutube.ru, there are few other popular russian video platform (like vk) but i guess not many will got there voluntarily.

WesselKroos commented 2 months ago

While in it please test it also with yandex.ru/video, mail.ru/video and rutube.ru, there are few other popular russian video platform (like vk) but i guess not many will got there voluntarily.

Seems to work without issues:

Screenshot 2024-09-05 175603 Screenshot 2024-09-05 175508 Screenshot 2024-09-05 175342

Luke0094 commented 2 months ago

sorry, mail.ru/video was instead my.mail.ru/video otherwise it will load the news section, while in the news discovered also dzen.ru/video (that you already showed in the small preview), vk link is vk.com/video

thx anyway for the amazing job.

Shy-Doge commented 2 months ago

does it also work on the web version of stremio? would be awesome if it did