Skip to content
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

[BUG]switching to another video doesn't pause the first one #214

Closed
manhag opened this issue May 10, 2020 · 2 comments
Closed

[BUG]switching to another video doesn't pause the first one #214

manhag opened this issue May 10, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@manhag
Copy link

manhag commented May 10, 2020

Describe the bug
before last update ....switching between videos .....pause the first one
now it is not working

To Reproduce
initState()
@OverRide
void dispose() {
_controller.dispose();
super.dispose();
}

@OverRide
void deactivate() {
// Pauses video while navigating to next page.
_controller.pause();
super.deactivate();
}

Widget build(BuildContext context) {
return
YoutubePlayer(
controller: _controller,
showVideoProgressIndicator: true,
progressIndicatorColor: Colors.blueAccent,

)}
Expected behavior
pausing previous video

Screenshots
If applicable, add screenshots to help explain your problem.

Technical Details:

  • Device: xiaomi redmi 8a
  • OS: android
  • Version 22

Additional context
Add any other context about the problem here.

@manhag manhag added the bug Something isn't working label May 10, 2020
@manhag manhag changed the title [BUG]switching to another video doesn't pause the video [BUG]switching to another video doesn't pause the first one May 10, 2020
@sarbagyastha
Copy link
Owner

Please try with v7.0.0.

@sarbagyastha
Copy link
Owner

Closing for now as couldn't reproduce. Please feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants