From f84fdc40ba817b6a2d907484b1e1500197ceeafe Mon Sep 17 00:00:00 2001 From: RblSb Date: Sun, 12 Jan 2025 19:35:56 +0300 Subject: External audiotrack support This works as voice over if video also has audio, changing video volume to 0.3. Also improve autoplay by playing videos muted and unmute on first page click. There is no mute if you use Firefox and allow autoplay on page (navigator.getAutoplayPolicy check). --- res/css/des.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'res/css') diff --git a/res/css/des.css b/res/css/des.css index 343f0ad..bd5606d 100644 --- a/res/css/des.css +++ b/res/css/des.css @@ -124,6 +124,7 @@ button { button:not(:first-child) { margin-left: .5rem; } + .server-whisper button { margin-left: 0; font-style: italic; @@ -140,6 +141,7 @@ button.active { button:hover:not(.active) { background-color: var(--background-chat); } + .info header button:hover:not(.active) { background-color: transparent; } @@ -180,6 +182,7 @@ button span { border-color: transparent; transition: border-color ease-in-out 800ms; } + #leader_btn.hint { border-radius: .5rem; border: .125rem solid; @@ -413,7 +416,8 @@ header h4 { } #mediatitle, -#subsurl { +#subsurl, +#voiceoverurl { margin-left: 2rem; flex-grow: 1; } -- cgit v1.2.3