PlaybackControls don't hide buttons in new MediaPlayerElement
I have tried out the new MediaPlayerElement control, and it works very fine, thanks. I am not able to hide some of the buttons which are shown in the default template. More specific ClosedCaption and AudioTrack buttons. I have tried using the PlaybackControls object and set the visibility props for those buttons to false, but nothing happens they are still visible.
XAML
<ContentPage.Content> <vlc:MediaPlayerElement MediaPlayer="{Binding MediaPlayer}" x:Name="vlc" LibVLC="{Binding LibVLC}"> </vlc:MediaPlayerElement> </ContentPage.Content>
Codebehind
public VideoPlayerPopupPage() { InitializeComponent(); vlc.PlaybackControls.IsAudioTracksSelectionButtonVisible = false; vlc.PlaybackControls.IsClosedCaptionsSelectionButtonVisible = false; }
Is this a bug or am I doing it wrong