I'm trying to hide captions by setting the enableCaption flag to false when initializing my YoutubePlayerController, but it's not working. I've also tried setting captionLanguage to an empty string or a different language the video doesn't have captions, but that doesn't work either.
What is the expected behaviour?
Setting the enableCaption flag to false should hide captions.
Is there an existing issue for this?
Package
youtube_player_flutter
What happened?
I'm trying to hide captions by setting the
enableCaption
flag tofalse
when initializing myYoutubePlayerController
, but it's not working. I've also tried settingcaptionLanguage
to an empty string or a different language the video doesn't have captions, but that doesn't work either.What is the expected behaviour?
Setting the
enableCaption
flag tofalse
should hide captions.How to reproduce?
Flutter Doctor Output
No response