Skip to content

[Gallery][Wasm/iOS/Android] MediaPlayerElement does not display PosterSource when using a URL #12332

Closed

Description

@agneszitte

Current behavior

MediaPlayerElement does not display local PosterSource when using a URL for Wasm, iOS, and Android

(Still waiting on Skia support to be done to test on this platform)

image

Expected behavior

MediaPlayerElement should display local PosterSource when using a URL like on Windows

image

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

  • Open Uno Gallery APP
  • Click Burger Menu on the left top right (if the menu is not already opened)
  • Click "MediaPlayerElement" from the "UI Components" list.
  • Launch the third sample:
  • "MediaPlayerElement sample using PosterSource, TransportControls, and a URL link with mp3 format (audio only)"
  • Observe that you cannot see the PosterSource
			<MediaPlayerElement x:Name="MediaPlayerElementSample3"
								Source="https://uno-assets.platform.uno/tests/audio/Getting_Started_with_Uno_Platform_and_Visual_Studio_Code.mp3"
								PosterSource="https://uno-assets.platform.uno/tests/thumbnails/Getting_Started_with_Uno_Platform_and_Visual_Studio_Code.png"
								AreTransportControlsEnabled="True"
								AutoPlay="False"
								MaxWidth="720" />

Workaround

N/A

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

Uno.UI/Uno.WinUI: 4.9.0-dev.1113
Uno.UI.MediaPlayer.WebAssembly/Uno.WinUI.MediaPlayer.WebAssembly: 4.9.0-dev.1113

Affected platforms

WebAssembly, Android, iOS

IDE

Visual Studio 2022

IDE version

17.5.5

Relevant plugins

No response

Anything else we need to know?

PosterSource should always be displayed in this example as the MediaPlayerElement is using an audio-only format
https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.mediaplayerelement.postersource?view=winrt-22621

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on May 17, 2023
  2. self-assigned this
    on May 23, 2023
  3. added
    project/media 📺
    on Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/tbdkind/bugproject/media 📺triage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions