Skip to content

[Gallery][Wasm/iOS/Android] MediaPlayerElement with Compact Overlay Visible and Enabled #12338

Closed

Description

@agneszitte

Current behavior

On Wasm, iOS, and Android,
when setting MediaPlayerElement with IsCompactOverlayEnabled="true" and IsCompactOverlayButtonVisible="true", the CompactOverlayButton is visible but when clicking it, it just moves the transport controls buttons.

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

Expected behavior

The expected behavior should be discussed per platform.

Windows behavior: the video is entering in compact overlay mode
02e8bfe78a1f1c2b738ca4f43f964e7d

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
    • IsCompact
    • IsCompactOverlayButtonVisible
    • IsCompactOverlayEnabled
  • And uncheck all the other options
  • Clip on the Compact Overlay Button
    image
  • Observe that it just moves the transport controls buttons placement but does not do anything else

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. rafael-rosa-knowcode commented on May 26, 2023

    @rafael-rosa-knowcode
    Contributor

    Includes functionality for Wasm, I believe we can do something similar for GTK.

    CompactOverlay

  3. added
    project/media 📺
    on Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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