straw/strawApp
Kayos 8dec2f2621 vc=57: hide stale inline player frame during video switch
Cobb-reported 2026-05-26: tapping a related/search/subs video while
another is playing rendered the NEW detail page (title, description)
with the OLD video's last frame visible in the inline player slot.

Root cause — there's a window between streamInfo resolving for the
new URL and setPlayingFrom landing on the controller. PlayerView
bound to the controller renders the previous video's surface during
that window because the controller's MediaItem hasn't swapped yet.

Fix — observe NowPlaying.current and add a branch in InlinePlayer's
state-when that renders thumbnail + spinner when the controller is
still on a different streamUrl. Branch sits above the PlayerView
else-arm so the stale surface never gets attached. Flips to
PlayerView the moment NowPlaying.claim() lands the new URL.
2026-05-26 11:16:00 -07:00
..
src/main vc=57: hide stale inline player frame during video switch 2026-05-26 11:16:00 -07:00
build.gradle.kts vc=55: in-app auto-updater polling fdroid.sulkta.com 2026-05-26 09:40:07 -07:00
proguard-rules.pro vc=55: in-app auto-updater polling fdroid.sulkta.com 2026-05-26 09:40:07 -07:00