appinioGmbH / flutter_packages

Dart and Flutter plugins/packages used and maintained by @appinioGmbH
187 stars 214 forks source link

[Feature] Video Player #105

Closed tushar-bansal-22 closed 1 year ago

tushar-bansal-22 commented 1 year ago

Can we add an optional option, to mute the video if the device is on silent/vibrate mode on developer's side

khanmujeeb687 commented 1 year ago

Hey @tushar-bansal-22 , right now this feature is not available with this package but you can implement it at your end very easily. Just use this package. And mute the video if device is on mute while to initialize.

_videoPlayerController = VideoPlayerController.network( longVideo, ) ..initialize().then((value) async { _videoPlayerController.setVolume(await VolumeController().getVolume()); setState(() {}); });