Ambient light for YouTube™ version history - 25 versions
Ambient light for YouTube™ by Wezelkrozum
Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.
Latest version
Version 2.38.10
Released Aug 2, 2024 - 954.7 KBWorks with firefox 74.0 and laterNew
- Support for /live/<videoid> urls
Fixes
- Fix the endless loading state that displays an "Ambient light loading is paused" message (Which was caused by a recent YouTube update)
- Fixed the undefined error that sometimes happend when the "WebGL renderer" setting is disabled
- Removing bars and "Fill video to screen" did not work on 4:3 videos where YouTube already zoomed in the video
Improvements
- Refactored expensive css selectors
- Improved bar detection reliability
Changes
- The setting "Video artifacts workaround" is now disabled by default. Because those artifacts have now been fixed by Microsoft in Windows 10 & 11.
- The setting "Video jitter workaround" is now enabled by default. Because this is still an problem on monitors with an higher refresh rate than 60Hz.Source code released under MIT License
Download Firefox and get the extensionYou'll need Firefox to use this extensionOlder versions
Version 2.38.9
Released Jun 10, 2024 - 950.15 KBWorks with firefox 74.0 and laterFixes
- Fix bar detection errorSource code released under MIT License
Version 2.38.7
Released May 17, 2024 - 947.9 KBWorks with firefox 74.0 and laterFixes
- Prevent errors that happen on an embedded YouTube video webpage that is incompletely parsed at pageloadSource code released under MIT License
Version 2.38.6
Released May 16, 2024 - 947.91 KBWorks with firefox 74.0 and laterFixes
- Prevent errors that can sometimes happen on an embedded YouTube video at pageload
- Added a new setting "Video artifacts workaround" to prevent flickering, checkerboarding and black lines around the video artifacts that are caused by Window's Multi-Plane Overlay feature.Source code released under MIT License
Version 2.38.5
Released May 10, 2024 - 946.67 KBWorks with firefox 74.0 and laterFixes
- Prevent the YouTube video player from quickly moving down on pageload for some slow devices
- Prevent an infinite loading duration by falling back to the default settings and displaying a warning when the extension cannot load the previous settings. (This happens when the extension is reloaded/updated while the webpage was already loaded.)
- Prevent an half ambient light effect while YouTube is still loading the comments/related videos lists on the webpage
- Prevent a duplicate settings button from being displayed when the extension is loaded twice on the webpage for some reason
- Prevent errors that happend when YouTube replaces the body or html element on the webpage
Improvements
- Display a useful warning in the bottom left of the webpage when the extension fails to loadSource code released under MIT License
Version 2.38.4
Released May 5, 2024 - 944.83 KBWorks with firefox 74.0 and laterFixes
- Fixed the `SettingsConfig.find(...) is undefined` errorSource code released under MIT License
Version 2.38.3
Released May 4, 2024 - 944.48 KBWorks with firefox 74.0 and laterFixes
- Resolved errors in embedded YouTube videosSource code released under MIT License
Version 2.38.2
Released Apr 28, 2024 - 944.53 KBWorks with firefox 74.0 and laterNew
- Setting (advanced): "Remove black & colored bars > Detection: ignored elements"
- Support for embedded YouTube videos
Changes:
- 2 default hotkeys has changed to support rotation via keyboard keys in VR videos: A -> G & S -> H
Improvements
- Styled the new YouTube layout with comments on the right side
- Styled the disclaimer
- When the "Appearance (theme)" setting is set to the "Default" option, it will not change the page theme anymore to the YouTube's theme option after enabling or disabling the ambient light. This is to prevent conflicts with other extensions that customize the page theme.
Fixes
- Restore hidden title in theatre mode with "Hide everything in theater mode" enabled after YouTube's redesign
- Workaround a performance regression Firefox introduced in versions 123 & 124
- Styled the emote menu in the reply form to a comment to still be visible when the "YouTube responsiveness fixed" setting is enabledSource code released under MIT License
Version 2.38.1
Released Dec 3, 2023 - 941.05 KBWorks with firefox 74.0 and laterFixes
- There was a big white rectangle in the background at the start of videos
- A video with rounded corners had no rounded corners in the shadow
- Buttons were displayed in the wrong theme when the ambient light theme is set to another value than YouTube's settings
- Removed the white background on older browser versions
- Video debanding restoredSource code released under MIT License
Version 2.38.0
Released Sep 18, 2023 - 937.99 KBWorks with firefox 74.0 and laterNew
- Settings can now be exported/backed-up to a file or your browser account in the options popupSource code released under MIT License
Version 2.37.34
Released Sep 3, 2023 - 931.54 KBWorks with firefox 74.0 and laterFixes
- Stats were not displayed when enabledSource code released under MIT License
Version 2.37.33
Released Sep 2, 2023 - 931.37 KBWorks with firefox 74.0 and laterNew
- Support for YouTube's kevlar_watch_grid (ytd-watch-grid) and kevlar_watch_fixie (ytd-watch-fixie) layouts
Fixes
- Fixed the issue that the settings menu won't open when all css animations are disabled via a custom stylesheet
- Removed the semi-black border around the ambient in YouTube's light themeSource code released under MIT License
Version 2.37.32
Released Aug 24, 2023 - 928.92 KBWorks with firefox 74.0 and laterFixes
- Fix flickering video in small view on some videos because of z-index fighting between the video and the ambient lightSource code released under MIT License
Version 2.37.31
Released Aug 24, 2023 - 928.91 KBWorks with firefox 74.0 and laterNew:
- New advanced setting: Ambient light > Fixed position
Changes:
- Increased the spread setting maximum to 400%. (Note: If you use a custom stylesheet you might need to update some css selectors/properties. Because the location of the ambientlight div element in the html page has been moved.)
Fixes:
- Restore the left and right side of the ambient light in fullscreen and theater mode after recent YouTube's UI changes
- Sometimes the ambient light was not restored when the browser restores a YouTube tab from a sleep/snoozing/suspended state.
- The "Energy saving" setting was not running anymore when the ambient light was re-enabled.Source code released under MIT License
Version 2.37.29
Released Jun 28, 2023 - 928.41 KBWorks with firefox 74.0 and laterFixes:
- Updated styling for compatibility with YouTube's new theater layout
- The video description text and link colors were incorrect after a theme changeSource code released under MIT License
Version 2.37.28
Released Jun 18, 2023 - 928.34 KBWorks with firefox 74.0 and laterNew:
- Setting (advanced): Remove black & colored bars > Bar detection average
Changes:
- Reverted the default value of the "Hide scrollbar" setting back to disabled. Because some users use the page scrollbar.
Fixes:
- The bar size never resets to 0% when a bar was detected before the user seeked through the video.
Improvements:
- Quicker bar detection (1 á 2 video frames quicker sometimes)
- Match the page scrollbar color with the page background colorSource code released under MIT License
Version 2.37.27
Released Jun 6, 2023 - 928.38 KBWorks with firefox 74.0 and laterNew:
- Setting: Page content > Background greyness
- Setting: Video > Debanding (noise)
- Setting (advanced): Page content > Related videos as scrollable list
- Setting (advanced): Ambient light > Flicker reduction
Changes:
- Removed the outlines/border on the video description and buttons below the video player
- The setting "Page content > Buttons & boxes background opacity" can from now on also be set to a negative value. This makes it possible to have black background colors in the buttons and boxes on a white themed page and vice versa.
Improvements:
- General page rendering performance improvements. A degraded scrolling experience was most notable on low-end devices, but this was also be noticeable on high-end devices with high refresh rate monitors after you had scrolled through 300+ comments. Some interactions where these improvements will be noticeable are: Scrolling and resizing the webpage; Scrolling through lists; Switching between normal, theater and fullscreen views; Scrubbing through the video timeline; Opening/closing the side menu
- Reduced the CPU and GPU usage when the settings "Ambient light > Blur" and "Ambient light > Spread" are both set to 0%
- Reduced the CPU and GPU usage when the video itself fills the screen in fullscreen viewSource code released under MIT License
Version 2.37.26
Released May 9, 2023 - 924.7 KBWorks with firefox 74.0 and laterFixed:
- The automatic page theme switch triggered a refresh of the YouTube watch page because YouTube had redesigned their webpageSource code released under MIT License
Version 2.37.25
Released May 7, 2023 - 938.13 KBWorks with firefox 74.0 and laterNew:
- Setting: Quality > Save energy on static videos (Limits the framerate on videos with an (almost) static image)
- Setting: General > Enable in Picture-in-picture mode
- Support for displays with the Display P3 colorspace
- Partial/experimental support for HDR YouTube videos and for displays with the Rec2020 colorspace
Improvements:
- Extended the hotkey tooltip with information on how to disable a hotkey
- Extended the frametimes graph with more data
- Improved the frametimes of the ambient light when the "Limit framerate" setting is enabled
- Decreased the video stutter that was sometimes caused by the bar detection when the cpu or gpu require a lot of time to decode the video
- Better detection of black bars that are slightly off-centered
- Maximize the "Sync video with ambient light" video overlay to the resolution on screen
Fixes:
- Prevent an incorrectly scaled video in YouTube's miniplayer after black bars were removed on the watch page
- If a video was opened in a background tab with the ambient light initially disabled, the ambient light could be enabled but was not rendered
- While the video player was resized and buffering/seeking the ambient light stays black until the video was loaded
- Removed the semi-transparent background behind the channel name and subscription button (YouTube redesigned those elements)
- Restyled the shadows on the buttons below the video player (YouTube redesigned those elements)
- Disable "Synchronized video with ambient light" when the video is in fullscreen and filling the screen
- Update the page theme after the OS theme was changed while a tab was inactive (The memory saver feature of browsers)
- For a small percentage of users the ambient light and settings button was never shownSource code released under MIT License
Version 2.37.24
Released Mar 18, 2023 - 924.97 KBWorks with firefox 74.0 and laterNew:
- Setting: Quality > Energy saver (Limits the framerate on video's with an (almost) static image)
Improvements:
- Faster bar detection when switching between videos
Fixes:
- Fixed the ambient light that stayed black when a video tab was opened in the foreground but quickly moved into the background before the ambient light was displayedSource code released under MIT License
Version 2.37.23
Released Mar 14, 2023 - 922.98 KBWorks with firefox 74.0 and laterFixes:
- For some users the theme changed incorrectly after navigating away from the watch pageSource code released under MIT License
Version 2.37.22
Released Mar 11, 2023 - 922.97 KBWorks with firefox 74.0 and laterFixes:
- Incorrect theme when the device theme is set to light and YouTube theme is set to dark
- Wrong theme color on the like button and live chat after more than 2 theme changesSource code released under MIT License
Version 2.37.21
Released Mar 7, 2023 - 922.78 KBWorks with firefox 74.0 and laterFixes:
- Catch a known error in the bar detection algorithmSource code released under MIT License
Version 2.37.20
Released Mar 5, 2023 - 922.74 KBWorks with firefox 74.0 and laterFixed an error while detecting if the current YouTube appearance is set to dark, light or device themeSource code released under MIT License
Version 2.37.19
Released Mar 5, 2023 - 922.58 KBWorks with firefox 74.0 and laterChanges:
- Highlight selected/playing playlist video
Improvements
- Reduced the amount of false positives by the bar detection
- Minor performance improvements in the WebGL renderer
Fixes:
- Fixed a very rare occasion where the settings button could not be added to the player
- If the appearance setting is set to "Default" and YouTube's appearance setting is set to "Device theme", the theme of the page will now automatically change as well when the Device theme has been changed in the operating systems settings.Source code released under MIT License