Skip to content

[Gallery][Wasm/iOS/Android] MediaPlayerElement with ShowAndHideAutomatically=false only work once #12341

Closed

Description

@agneszitte

Current behavior

MediaPlayerElement with ShowAndHideAutomatically set to false only works the first time on Wasm, iOS, and Android

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

f0c8277ea7b3fd5224a7b6a909b0f428

Expected behavior

MediaPlayerElement with ShowAndHideAutomatically set to false should work every time like on Windows
If ShowAndHideAutomatically is set to false the transport controls area should not be hidden all the time

Windows:
279d425508e7c5116456f6f7669b90c6

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
  • Make sure ShowAndHideAutomatically is unchecked and all the other options also
  • Play the video, and notice the transport controls do not hide (like they should)
  • Pause the video
  • Play the video again
  • Observe that the transport controls are hidden this time

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. changed the title [-][Gallery][Wasm/iOS/Android] MediaPlayerElement with ShowAndHideAutomatically set to false only work the first time[/-] [+][Gallery][Wasm/iOS/Android] MediaPlayerElement with ShowAndHideAutomatically=false only work once[/+] on May 24, 2023
  3. rafael-rosa-knowcode commented on May 26, 2023

    @rafael-rosa-knowcode
    Contributor

    Now it is working.
    The PR #12372 fixed the problem.

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

Assignees

No one assigned

    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