WesselKroos / youtube-ambilight

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

A new experimental YouTube layout has a transition when opening the description #240

Closed avi12 closed 5 months ago

avi12 commented 6 months ago

Bug description

It results in this ext doing a weird opacity transition, while when the ambient effect is turned off, the opacity transition is disabled

Steps to reproduce the behavior

Just get randomly assigned to the A/B test 😉

Browser

Microsoft Edge

Operating system

Windows

Extension version

2.38.7

The bug still happens in these conditions

Additional context and/or screenshots

https://github.com/WesselKroos/youtube-ambilight/assets/6422804/baa429ce-7bff-4863-a076-216e2e239b08

Description when it's hidden: https://gist.github.com/avi12/303f6131fe33ace7a92f87e6d0d321bd Description when it's revealed: https://gist.github.com/avi12/952291aa80890352141638b7ca172473

avi12 commented 6 months ago

After reloading, the good ol' UI came back

WesselKroos commented 5 months ago

Thanks for the heads-up. I was "lucky enough" to be randomly selected for the A/B test today.

It seems that YouTube has put the transition onto the description themselves. It's just that their expanded description panel has a background, while my extension removes the background. It will require some investigation into how I can remove their fading transition/animation while keeping the mouseover/hover transition/animation.

https://github.com/WesselKroos/youtube-ambilight/assets/31220528/516f8f37-cd23-414f-a7f0-f58cd063e697

WesselKroos commented 5 months ago

Ok, I'm going to treat this as intended by YouTube's design. Because in non-theater view the video description and comments are also fading out:

https://github.com/WesselKroos/youtube-ambilight/assets/31220528/054df23b-afd0-499a-92ad-7a5cd490ae44