[go: nahoru, domu]

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

Creates video_player integration example #982

Open
wants to merge 1 commit into
base: minor
Choose a base branch
from

Conversation

azamor-luccas
Copy link
@azamor-luccas azamor-luccas commented Jan 7, 2023

Replace this paragraph with a description of what this PR is changing or adding, and why.

If there's an open issue your PR is fixing, please list it here.

Pre-launch Checklist

  • I read the CONTRIBUTING.md and followed the process outlined there for submitting PRs.
  • My change is not breaking and lands in minor branch OR my change is breaking and lands in major branch.
  • If I'm the first to contribute to the next version, I incremented the version number in pubspec.yaml according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change (format: * DESCRIPTION OF YOUR CHANGE (@your-git-username)).
  • I updated/added relevant documentation (doc comments with ///).
  • I ran dart analyze.
  • I ran dart format.
  • I ran flutter test and all tests are passing.

@azamor-luccas
Copy link
Author

as the video_player now has the allowBackgroundPlayback option, I created a simple example with an integration

@ryanheise
Copy link
Owner

Nice, it's been a while since I had anything to do with background video, I vaguely remember creating a prototype years ago. Do you have a link to the video_player issue and/or commit/PR that adds this?

@azamor-luccas
Copy link
Author

I think it's this one flutter/plugins#5013

@alexboulay
Copy link

Hi! I tried this example, background playback seems to work fine however whenever the app gets to a background state, the playback gets paused automatically and the user must hit play again (through the native media controls). Any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants