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 for UWP is broken in Xamarin Community Toolkit 1.1  #1171

@coquilanka

Description

@coquilanka

Description

[Bug] MediaElement for UWP is broken in Xamarin Community Toolkit 1.1

Steps to Reproduce

  1. Try the below MainPage.xaml file that contains a MediaElement Tag (set the UWP project as startup, and start debugging). You will only get the "red background" set in "BackgroundColor" in XAML below, but not the player interface, and playback does not work


<xct:MediaElement Source="https://sec.ch9.ms/ch9/5d93/a1eab4bf-3288-4faf-81c4-294402a85d93/XamarinShow_mid.mp4"
ShowsPlaybackControls="True" BackgroundColor="Red"/>

(Xamarin Forms version 5.0.0.2012)
(Xamarin Community Toolkit version 1.1.0)

Expected Behavior

Playback of Video to start

Actual Behavior

You will only get the "red background" shown in the image, but not the player interface, and playback does not work (note that the background color of MediaElement is set to red in the above XAML )

Basic Information

  • Version with issue: 1.1.0
  • Last known good version: 1.0.3
  • IDE: Visual Studio Community 2019
  • Platform Target Frameworks:
    • UWP: 19041

Workaround

Downgrade to 1.0.3

Reproduction imagery

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    UWPUWP platform issue.a/MediaElementbugSomething isn't working. Breaky break.needs-reproductionWe're not able to reproduce this ourselves, in need of a reproduction sample showing the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions