frosty/lib/screens/channel/video
Tommy Chow 9cec89a67c fix video refresh race condition causing black screen with play button
Replace JS-side `window._injected` guard with a Dart-controlled `_needsInit`
flag so `initVideo()` reliably runs after every refresh. The previous approach
loaded `about:blank` then `videoUrl` back-to-back, but `loadRequest` resolves
on navigation start (not page load), so the JS context often survived and
`onPageFinished` skipped re-initialization. Also adds an explicit `play()`
call to handle cases where the Twitch player loads in a paused state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:22:44 -08:00
..
stream_info_bar.dart consolidate overlay shadow constants, simplify overlay gradients 2026-02-07 23:18:54 -08:00
video.dart rename enhanced rendering setting to reset for all users 2026-01-05 23:40:31 -05:00
video_overlay.dart deduplicate SystemChrome calls and optimize PiP animation rebuilds 2026-03-07 00:13:08 -08:00
video_store.dart fix video refresh race condition causing black screen with play button 2026-03-07 23:22:44 -08:00
video_store.g.dart v5 (#463) 2026-01-01 22:28:17 -05:00