diff options
| author | Astounds <kirito@disroot.org> | 2026-04-05 18:31:35 -0500 |
|---|---|---|
| committer | Astounds <kirito@disroot.org> | 2026-04-05 18:31:35 -0500 |
| commit | 13a0e6ceeddc99a895c36f597ae6b388caebfce4 (patch) | |
| tree | 657e86cf8282ab50188c0eebbad6709b50b54305 /youtube/static/js/common.js | |
| parent | e8e2aa93d621b3f2ffe9c8f7b06d381012f6bff8 (diff) | |
| download | yt-local-13a0e6ceeddc99a895c36f597ae6b388caebfce4.tar.lz yt-local-13a0e6ceeddc99a895c36f597ae6b388caebfce4.tar.xz yt-local-13a0e6ceeddc99a895c36f597ae6b388caebfce4.zip | |
fix(hls): improve audio track selection and auto-detect "Original"
- Auto-select "Original" audio track by default in both native and Plyr HLS players
- Fix native HLS audio selector to use numeric indices instead of string matching
- Robustly detect "original" track by checking both `name` and `lang` attributes
- Fix audio track change handler to correctly switch between available tracks
Diffstat (limited to 'youtube/static/js/common.js')
0 files changed, 0 insertions, 0 deletions
