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

Refactor VideoPlayerController initialization to adhere to video_player ^2.8.2 guidelines #814

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

ishworpanta10
Copy link
Contributor

Updated VideoPlayerController initialization to use VideoPlayerController.networkUrl(Uri.parse('video_url')), complying with video_player ^2.8.2 guidelines.

Changes :

final videoPlayerController = VideoPlayerController.network(
    'https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4'); 
   
   To 
   
   final videoPlayerController = VideoPlayerController.networkUrl(Uri.parse(
    'https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4'));
   
   

…er ^2.8.2 guidelines

Updated VideoPlayerController initialization to use VideoPlayerController.networkUrl(Uri.parse('video_url')), complying with video_player ^2.8.2 guidelines.
@ycv005
Copy link
Contributor

ycv005 commented Mar 30, 2024

please update chewie to support wakelock_plus: ^1.2.1.

Copy link
Collaborator

@diegotori diegotori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@diegotori diegotori merged commit 53e964b into fluttercommunity:master Apr 1, 2024
lg8294 added a commit to lg8294/chewie that referenced this pull request Aug 27, 2024
* commit '93dc6d8eeb99e8b4abb8398484c6f4b2751bbea1':
  chewie, version 1.8.0. Addresses fluttercommunity#814, fluttercommunity#815, fluttercommunity#821, and fluttercommunity#824.
  Fixed Dart formatting.
  Next version will require at least Flutter 3.19 and Dart 3.3 or higher.
  Update pubspec.yaml
  Update pubspec.yaml
  Update pubspec.yaml
  Ignore top safe area insets for material controls
  Refactor VideoPlayerController initialization to adhere to video_player ^2.8.2 guidelines
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