Emilien e3b3e68380 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-06-28 17:36:52 +02:00
..
2023-09-27 17:36:06 -04:00
2022-06-05 20:54:48 +03:00
2023-09-18 20:10:41 -04:00
2026-06-28 13:28:39 +02:00
2026-06-28 13:28:39 +02:00
2026-06-28 13:28:39 +02:00
2025-06-26 18:40:06 -04:00
2023-02-19 20:41:18 +01:00