-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are some problems with background playback #41
Comments
Extremely sorry for the late respond, was quite busy since last time I updated the plugin. Will be looking into the issue. |
I have the same problem. waiting for the update 😃. Thank you for the plugin. |
@Frank0945 @Jay-Jeong1988 Could you please check if it is fixed on version 4 ? |
Hi @sarbagyastha I just have tested it and webviews seem to be disposed properly after a few seconds leaving the page. Thanks for fast update!! |
@Jay-Jeong1988 You may implement AppLifeCycleState and pause the video when the state is paused. |
@sarbagyastha Thank you, it works perfect 😄. Btw this is little out of the topic, but I am trying to implement Pip mode with your plugin. I made it working that now it turns into pip mode by clicking the button, but the player turns into pause state as the app goes pip mode. The app state goes into AppLifeCycleState.inactive as it goes into Pip mode and AppLifeCycleState.resume as it comes back to normal mode so there is no problem listening to those changes and call play(). However, there is a middle mode which the app goes into when user clicks the minimized screen and that also pause the video again(which I do not want). The problem is that there is no listenable change in AppLifeCycleState between the smallest mode and the middle mode thus I cannot have control of the video player. To cut the long story short, according to the research I had, there are a few work arounds but I do not know how to.
if you know how to manage any of the options and tell me ,would be really appreciated..👍 |
@Jay-Jeong1988 if you want pip mode then opt for youtube_player instead. It'll be much more smooth experience with that one. |
@sarbagyastha I believe your youtube_player plugin is not compatible with ios. Am I correct ? Maybe I should try it anyways. Thanks for advice ! |
same, this buttons background black |
When I leave the app, the music plays as usual.
But it will not be long before he will be intermittent.
And the detection movie ends and cannot be executed in the background.
The text was updated successfully, but these errors were encountered: