Skip to content

Conversation

@dredstone1
Copy link
Contributor

@dredstone1 dredstone1 commented Apr 23, 2025

Refactor video control overlay background

This change updates the background style for the YouTube video player's top and bottom overlays.

Problem:
The prior semi-transparent gradient background looked inconsistent when the area behind the overlays lacked video content.

Solution:
Replaced the gradient with a solid, semi-transparent blurred black background (using rgba and backdrop-filter: blur()). This ensures a consistent appearance for the overlays, regardless of the underlying content.

examples:

(i want to add that i use enhanced youtube, but i checked it without it)
before:
bad1

after:
good-2
good-1
image

this is not perfect so if anyone have any suggestions, i would gladly use it.

@dredstone1 dredstone1 changed the title Improve Video Overlay Background Consistency Improve Video Overlay Background Consistency (youtube) Apr 23, 2025
@dredstone1 dredstone1 changed the title Improve Video Overlay Background Consistency (youtube) improve video control overlay background (youtube) Apr 23, 2025
@sameerasw
Copy link
Owner

We might have to wait till the new re-design arrives soon to determine if this still works before merging 👀

@dredstone1
Copy link
Contributor Author

dredstone1 commented Apr 25, 2025

there is another design? Again?
Yea that makes sense.

@sameerasw
Copy link
Owner

there is another design? Again? Yea that makes sense.

hehe :3
image

@dredstone1
Copy link
Contributor Author

there is another design? Again? Yea that makes sense.

hehe :3
image

It can look good in transparent

@sameerasw
Copy link
Owner

there is another design? Again? Yea that makes sense.

hehe :3
image

It can look good in transparent

yeah, i hope 🙏

@dredstone1
Copy link
Contributor Author

is there any news about the new YouTube UI, they are trying out?

@sameerasw
Copy link
Owner

is there any news about the new YouTube UI, they are trying out?

It's gradually being rolled out to some users... Will at least take 1month+ I assume...

@dredstone1
Copy link
Contributor Author

is there any news about the new YouTube UI, they are trying out?

It's gradually being rolled out to some users... Will at least take 1month+ I assume...

If you say it is going to be a thing for certain, I think I can close that pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending

Development

Successfully merging this pull request may close these issues.

2 participants