unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.63k stars 697 forks source link

[Gallery][Skia] MediaPlayerElement - Mediaplayer video screen is not showing until click ' Play' button for 'MediaPlayerElement sample using local file' option. #16768

Open sakshi173 opened 1 month ago

sakshi173 commented 1 month ago

Current behavior

https://github.com/unoplatform/uno/assets/74563602/7159e272-22e3-4b63-a542-d8ed0736811b

Expected behavior

https://github.com/unoplatform/uno/assets/74563602/2f16d077-e5e1-4597-bb78-465c683d7abe

How to reproduce it (as minimally and precisely as possible)

  1. Open Uno Gallery APP
  2. Click Burger Menu on the left top right (if the menu is not already opened)
  3. Click "MediaPlayerElement" from the "UI Components" list.
  4. Launch the 2nd sample:
  5. "MediaPlayerElement sample using postersource, TransportControls and a local file with MP4 format.
  6. Observe that the mediaplayer video screen is not showing until click ' Play' button.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

Skia (GTK)

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

ramezgerges commented 1 month ago

Related: https://github.com/unoplatform/uno/pull/15196#issuecomment-1952827648