Skip to content

Commit 774a285

Browse files
committed
YouTube: Audio Only | Visual Fix
1 parent e5def1f commit 774a285

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

484611-youtube-audio-only.user.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// @name YouTube: Audio Only
33
// @description No Video Streaming
44
// @namespace UserScript
5-
// @version 1.6.5
5+
// @version 1.6.6
66
// @author CY Fung
77
// @match https://www.youtube.com/*
88
// @match https://www.youtube.com/embed/*
@@ -1951,10 +1951,15 @@
19511951
background-size: contain;
19521952
background-repeat: no-repeat;
19531953
}
1954-
.ended-mode [style*="--audio-only-thumbnail-image"]{
1954+
.html5-video-player.ended-mode [style*="--audio-only-thumbnail-image"]{
19551955
background-image: none;
19561956
}
19571957
1958+
.html5-video-player.ytp-ce-shown .html5-video-container {
1959+
opacity: 0.5;
1960+
transition: opacity 0.5s;
1961+
}
1962+
19581963
ytd-video-preview #media-container div#player-container,
19591964
ytd-video-preview #media-container div#thumbnail-container{
19601965
transition: initial !important;

0 commit comments

Comments
 (0)