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> |
||
|---|---|---|
| .. | ||
| stream_info_bar.dart | ||
| video.dart | ||
| video_overlay.dart | ||
| video_store.dart | ||
| video_store.g.dart | ||