You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the app goes into the background, the video and audio playback stops for a brief moment (or entirely), which is not the desired behavior. This issue occurs when the app is moved to the background state, causing interruptions in video or audio playback.
What is the expected behaviour?
The video/audio should continue playing seamlessly even when the app enters the background state, without interruptions.
The player should handle background playback automatically, similar to how audio players behave in the background.
How to reproduce?
Steps to Reproduce:
Play a YouTube video using the youtube_player_flutter package.
Press the home button or switch to another app, putting the app into the background.
Observe that the video/audio stops completely.
Flutter Doctor Output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [Version 10.0.22631.4751], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.12.4)
[√] Android Studio (version 2024.2)
[√] VS Code (version 1.96.4)
[√] Connected device (3 available)
[√] Network resources
• No issues found!
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Package
youtube_player_flutter
What happened?
When the app goes into the background, the video and audio playback stops for a brief moment (or entirely), which is not the desired behavior. This issue occurs when the app is moved to the background state, causing interruptions in video or audio playback.
What is the expected behaviour?
The video/audio should continue playing seamlessly even when the app enters the background state, without interruptions.
The player should handle background playback automatically, similar to how audio players behave in the background.
How to reproduce?
Steps to Reproduce:
Flutter Doctor Output
The text was updated successfully, but these errors were encountered: