0

Is there way to play video in fullscreen mode in Xamarin Forms with library - libvlcsharp ?

I'm connecting to ip camera, the view is fine but not in fullscreen. I made code for double tap detection and now I'm looking for method to do it in fullscreen by this library

DeviC3
  • 67
  • 1
  • 8

1 Answers1

0

Install LibVLCSharp.Forms 3.1.1-alpha, it contains a media player element with built-in support for multiple aspect ratios.

Will be released in LibVLCSharp.Forms stable soon.

mfkl
  • 1,914
  • 1
  • 11
  • 21
  • Can U drop some code or give link to documentation ? – DeviC3 Aug 04 '19 at 16:17
  • Try running https://code.videolan.org/videolan/LibVLCSharp/tree/feature/mediaelement-initial-setup/Samples/Forms/LibVLCSharp.Forms.MediaElement – mfkl Aug 04 '19 at 16:42
  • Relevant code is https://code.videolan.org/videolan/LibVLCSharp/blob/feature/mediaelement-initial-setup/LibVLCSharp.Forms/Shared/PlaybackControls.xaml.cs#L808 – mfkl Aug 04 '19 at 16:43
  • I've got code foru running app, but I havent access to AspectRatio method, only Aspect – DeviC3 Aug 04 '19 at 18:15
  • Will this code work? VideoView.MediaPlayer.Fullscreen = true; – DeviC3 Aug 04 '19 at 18:29