5 Commits

Author SHA1 Message Date
Emilien
a794618d4e fix: auto hide player bar 2026-08-03 02:50:51 +02:00
Emilien
2b32cdb4f3 fix: use external bg solver 2026-08-03 02:50:51 +02:00
Emilien
5185487eb3 fix(sabr): correct per-segment URIs and control-bar play button size
Segment index parsers (mp4/webm) declared the per-segment URI array with
`var` inside the loop, so every SegmentReference's getUris() closure
captured the same function-scoped binding and returned the LAST segment's
URL. YouTube received the final segment's startTimeMs/sq for every
segment, replied with policy-only UMP (no media), and the player looped
forever on a black screen ("SABR throttled by YouTube"). Use `let`
(block-scoped, fresh per iteration) to match FreeTube's `const`.

Also scope the big centered play button styling to
`.shaka-play-button-container`; the bare `.shaka-play-button` selector
also matched the control-bar play button (48px siblings), oversizing it
to ~54px and pushing it out of alignment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-03 02:50:51 +02:00
Emilien
0e1c46b207 perf: parallelize Shaka init with network calls, defer scripts, preconnect, fix shaka 5 spinner CSS 2026-08-03 02:50:51 +02:00
Emilien Devos
95c68548d6 chore: very initial poc 2026-08-03 02:50:50 +02:00