Skip to content

VideoView lies on top of all other elements in XAML in Xamarin.Forms in WPF application.

Summary

VideoView lies on top of other elements in XAML in xamarin forms when it shouldn't. For example if you have an absolutelayout containing a videoview then a stacklayout next as a child in the same absolutelayout then the VideoView will cover the stacklayout instead of the other way around, which is expected.

Minimal project and steps to reproduce

create a VideoView in xaml and place some element above it using absolutelayout and see that it doesn't work. I can submit a project later if necessary this is pretty self-explanatory (I'm guessing).

What is the current bug behavior?

VideoView exceeds all other elements.

What is the expected correct behavior?

VideoView should have the "z-index" that makes sense like any other element in XAML in Xamarin.Forms.

Does it work on other plaforms? Does it work with the official VLC apps?

Works on macOS but not on WPF.

Relevant LibVLC logs and/or screenshots

I can provide screenshots or logs if requested.

Environment

Windows 10 on Parallels Virtual Machine, on iMac "27 2019

LibVLC 3.6.6

  • OS: Windows 10
  • Version 10
  • Device: iMac
  • LibVLC version and architecture: LibVLC 3.6.6
  • LibVLCSharp version: latest

Possible fixes

Not sure.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information