-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Support different resolutions of video #492
base: master
Are you sure you want to change the base?
Conversation
@@ -179,6 +181,21 @@ class _MaterialControlsState extends State<MaterialControls> | |||
); | |||
} | |||
|
|||
if (chewieController.resolutions != null && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace with if (chewieController.resolutions?.isNotEmpty ?? false) {
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx will do it
Future<void> _onResolutionTap() async { | ||
_hideTimer?.cancel(); | ||
|
||
final choosenResolution = await showModalBottomSheet<String>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename variable to chosenResolution
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx will do it
Can I use this branch without using master branch? |
Hi, how about this feature? @diegotori |
@merdweebner are you still actively working on this PR? If so, please re-sync your changes with |
Any update? |
lib/src/models/video_player_controller_extension.dart