newtaDev / pod_player

Video player for flutter web & mobile devices, Play video from youtube or vimeo or network in flutter using pod player
https://pub.dev/packages/pod_player
MIT License
106 stars 202 forks source link

Mute videos not working #152

Closed luistorres24 closed 1 year ago

luistorres24 commented 1 year ago

void initState() { controller = PodPlayerController( playVideoFrom: PlayVideoFrom.youtube('https://youtu.be/A3ltMaM6noM'), podPlayerConfig: const PodPlayerConfig( videoQualityPriority: [720, 360], autoPlay: false, ), )..initialise(); controller.mute(); // in this line no working mute audio from videos in youtube and vimeo super.initState(); }

luistorres24 commented 1 year ago

Problem resolved. Only i have to use controller.toggleVolume(); instead controller.mute();