aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/video-player.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-17 12:56:13 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-17 12:56:13 +0200
commit3e6d514663a5df1be3b2f0286c5f67f669d9c1d6 (patch)
tree3f9702efa993078939b960e3c73a44bd08203c90 /packages/meshbay-hub/src/meshbay_hub/static/video-player.js
parent3303a29cac47781f5e8c18d7d6653025349cbae3 (diff)
downloadmeshbay-3e6d514663a5df1be3b2f0286c5f67f669d9c1d6.tar.gz
feat(hub): give the audio-language button a glyph of its own
The audio-track selector was drawn with `volume` — the same glyph the music player uses for its level control, and the same one the browser draws a few dozen pixels below it, since the video player mounts `<video controls>` and gets the native volume speaker with it. One drawing, two meanings, in one window. `speech-pair` is two offset bubbles: the same line, said twice, which is what the button chooses. Nothing crosses anything — the set is stroked with no fill, and two overlapping outlines read as a tangle at 20 px — and it leaves the conventional subtitle glyph free for the button planned beside it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UGY17EPph5LsLzePPXhUVc
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/video-player.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/video-player.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/video-player.js b/packages/meshbay-hub/src/meshbay_hub/static/video-player.js
index 4970262..23b0699 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/video-player.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/video-player.js
@@ -1036,7 +1036,7 @@ function VideoPlayer({ entry, transportRef, gekRef, onClose, onDownload }) {
<button class="video-close ${audioMenuOpen ? 'cast-active' : ''}"
onClick=${() => setAudioMenuOpen(!audioMenuOpen)}
title="${t('video.audio_track')}">
- <${Icon} name="volume" /></button>
+ <${Icon} name="speech-pair" /></button>
${audioMenuOpen && html`
<div class="cast-picker">
${audioTracks.map((track) => html`