Skip to content

MediaPlayerElement Cast to device support #12337

Open

Description

@agneszitte

Current behavior

MediaPlayerElement "Cast to device" button does not work on Wasm, iOS, and Android

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

Expected behavior

MediaPlayerElement "Cast to device" button should work 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 fourth sample:
    "MediaPlayerElement sample using customizable options"
  • Check AreTransportControlsEnabled and IsCompact and uncheck all the other options
  • Click on the "Cast to device" button on the right
    image
  • Observe that the button does not work

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. added
    project/media 📺
    on Jun 7, 2023
  3. agneszitte commented on Aug 11, 2023

    @agneszitte
    MemberAuthor

    @rafael-rosa-knowcode is this issue still valid with latest fixes please ?

  4. rafael-rosa-knowcode commented on Sep 11, 2023

    @rafael-rosa-knowcode
    Contributor

    @agneszitte Cast to device has not yet been implemented

  5. added
    platform/wasm 🌐
    platform/android 🤖
    platform/ios 🍎
    area/xaml-reader
    difficulty/challenging 🤯
    and removed
    triage/untriaged
    difficulty/tbd
    on Oct 25, 2023
  6. changed the title [-][Gallery][Wasm/iOS/Android] MediaPlayerElement "Cast to device" button does not work[/-] [+]`MediaPlayerElement` Cast to device support[/+] on Jul 21, 2025
  7. added theissue type on Jul 22, 2025
  8. MartinZikmund commented on Apr 13, 2026

    @MartinZikmund
    Member

    Repro generator

    This issue was classified as not reproducible with a code sample or test.

    Reason: "Cast to device" is a feature that needs real cast-capable receiver hardware on the network (e.g. Chromecast/DLNA/AirPlay) to validate, and on native WASM/iOS/Android platforms that are not exercised by the Skia runtime test runner. This is effectively a feature-implementation gap rather than an isolated bug, and its verification requires manual testing on the target platforms with actual casting hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/xaml-readerdifficulty/challenging 🤯kind/bugno-reproplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/media 📺

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions