Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] MediaElement does nothing on UWP #1874

@tungox6

Description

@tungox6

Description

MediaElement works on Android but does nothing on UWP

Stack Trace

Link to Reproduction Sample

Steps to Reproduce

  1. Create a Xamarin project with Android, iOS and UWP
  2. Add Xamarin.CommunityToolkit (2.0.2) Nugut package to them all
  3. Add MediaElement to the main page of the shared project:
    <xct:MediaElement Source="https://sec.ch9.ms/ch9/5d93/a1eab4bf-3288-4faf-81c4-294402a85d93/XamarinShow_mid.mp4" ShowsPlaybackControls="True" AutoPlay="True"/>
  4. "Set as Startup Project" to UWP one, nothing happens (if I do so with Android one, the video will be played well)

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue: 2.0.2
  • Last known good version:
  • IDE: Visual Studio 2022 Community 17.2.3
  • Platform Target Frameworks:
    • UWP: Microsoft.NETCore.UniversalWindowsPlatform 6.2.14
    • Xamarin Forms: 5.0.0.2478
    • Xamarin.Essentials: 1.7.3

Workaround

Reproduction imagery

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. Breaky break.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions