WesselKroos / youtube-ambilight

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

Ambient light will not trigger when watching 3D videos in 2D #207

Closed ice051128 closed 5 months ago

ice051128 commented 9 months ago

Bug description

The ambient light is not visible when watching 3D videos in 2D

Steps to reproduce the behavior

  1. Try to watch a video like https://www.youtube.com/watch?v=7t2FyErNKuY
  2. Ambient light will not trigger properly

Browser

Microsoft Edge

Operating system

Windows

Extension version

2.38.0

The bug still happens in these conditions

Additional context and/or screenshots

No response

WesselKroos commented 9 months ago

I've disabled the ambient light in 3D/VR videos since 2019 because there was no way to capture the image from a 3D video. But it might be worth investigating it once again.

WesselKroos commented 9 months ago

So far, I've got it partially working.

Firefox displays nothing, but Chromium browsers work sometimes: image

But after navigating to another VR video (or sometimes just randomly after a while) the image data becomes corrupted: image

WesselKroos commented 9 months ago

Apparently the corrupted image data on Chromium browsers only happens with the ANGLE flag set to D3D11on12.

Todo: