Plex Ambilight

Adds an ambient light effect to the Plex web player to prevent OLED burn-in and enhance immersion.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
HELiX Dzn™
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
4
Βαθμολογίες
0 0 0
Έκδοση
1.5
Δημιουργήθηκε την
24/08/2025
Ενημερώθηκε την
24/08/2025
Μέγεθος
4 KB
Άδεια
MIT
Εφαρμόζεται σε

Plex Ambilight

Adds a dynamic, blurred ambient light effect around the video player on app.plex.tv. This helps reduce the risk of OLED burn-in on letterboxed content (the black bars) and creates a more beautiful, immersive viewing experience.

The logic is inspired by the popular YouTube Ambilight extension.


Features

  • Adds a real-time ambient light effect to the Plex web player.
  • Creates a more immersive viewing experience.
  • Helps mitigate OLED burn-in by lighting up the black bars.
  • Lightweight and efficient, only processing when video is playing.
  • Easily customizable settings directly in the script.


Demo

Screenshot of Plex Ambilight in action


How to Customize

You can easily change the blur, size, and opacity of the effect by editing the script in Tampermonkey. Just look for the settings section at the top of the file.

// --- You can adjust these settings ---
const settings = {
    blur: 50,         // How blurry the background is. Higher value = more blur.
    scale: 1.1,       // How much the blurred background extends beyond the video. 1.1 = 10% larger.
    opacity: 0.7,     // The visibility of the ambient light. 0.7 = 70% opaque.
};

  • blur: Controls the blurriness of the glow. 50 is a good starting point.
  • scale: Controls how far the glow extends. 1.1 means it's 10% larger than the video player.
  • opacity: Controls the brightness/visibility of the effect. 0.7 is 70% visible.


Notes

This script relies on the specific HTML class names used by the Plex web player. If Plex updates its website in the future, this script may need to be updated to continue functioning.

Support My Work

This script is free to use, but if you find it useful and want to show your appreciation, you can support me here. Thank you!