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

Video does not work with ClipRect #1339

Open
mikemilla opened this issue Oct 12, 2024 · 0 comments
Open

Video does not work with ClipRect #1339

mikemilla opened this issue Oct 12, 2024 · 0 comments
Assignees
Labels
new issue New issue which has not been checked yet

Comments

@mikemilla
Copy link

Player doesn't support clipping it's widget to a ClipRect

BetterPlayerConfiguration betterPlayerConfiguration = BetterPlayerConfiguration(
      fit: BoxFit.cover,
);

...

Widget _buildVideoPlayer() {
    return ClipRect(
      child: BetterPlayer(
        controller: _betterPlayerController,
      ),
    );
  }
@mikemilla mikemilla added the new issue New issue which has not been checked yet label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue New issue which has not been checked yet
Projects
None yet
Development

No branches or pull requests

2 participants