Skip to content

[Gallery][Wasm/iOS/Android] MediaPlayerElement does not play a local source #12331

Closed

Description

@agneszitte

Current behavior

MediaPlayerElement does not play a local source for Wasm, iOS, and Android

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

Expected behavior

MediaPlayerElement should play a local source like on Windows

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 second sample:
    "MediaPlayerElement sample using PosterSource, TransportControls, and a local file with mp4 format"
  • Try to play the video
  • Observe that the video is not playing
			<MediaPlayerElement x:Name="MediaPlayerElementSample2"
								Source="ms-appx:///Assets/Videos/Getting_Started_with_Uno_Platform_for_Figma.mp4"
								PosterSource="ms-appx:///Assets/Thumbnails/Getting_Started_with_Uno_Platform_for_Figma.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?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on May 17, 2023
  2. self-assigned this
    on May 23, 2023
  3. sakshi173 commented on Jun 6, 2023

    @sakshi173

    @agneszitte and @jeromelaban, still this issue is present.

  4. 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