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> |
||
|---|---|---|
| .. | ||
| apis | ||
| models | ||
| screens | ||
| services | ||
| stores | ||
| utils | ||
| widgets | ||
| cache_manager.dart | ||
| constants.dart | ||
| firebase_options.dart | ||
| main.dart | ||
| theme.dart | ||
| utils.dart | ||