Skip to content

[MPE][Wasm] Setting the AutoPlay property to false removes hides the MTC buttons #12535

Closed

Description

@jeromelaban

With this sample: https://playgroundcanary.z19.web.core.windows.net/#7486d066, setting the AutoPlay property to false sets the opacity of the MTC to 0, preventing the video from being played.

Activity

  1. added
    kind/bug
    project/media 📺
    on Jun 5, 2023
  2. Xiaoy312 commented on Jun 8, 2023

    @Xiaoy312
    Contributor

    the key difference between having this bug manifesting and not, is the visual-state on MediaTransportControls:

    • bugged: ControlPanelFadeIn|Loading||||NormalMode|PlayState|VolumeState|NonFullWindowState|RepeatNoneState
    • working: ControlPanelFadeIn|Normal||||NormalMode|PlayState|VolumeState|NonFullWindowState|RepeatNoneState

    VisualState.MediaStates.Loading is in charge of:
    image
    which is responsible for this issue

    we got this state from MediaPlaybackState.Opening
    ^ we can possibly rule out the possibility of PlaybackState and its visual-state going out of sync, since everywhere when we BindMediaPlayer(), we do listen for on-changed and do a live update immediately (on dev/xygu/20230601/mtc-show-hide-behaviors at least)
    ^ on skia, where this problem doesnt occur, the playback state is Paused
    ^ on wasm, this stays at Opening

  3. BrianDT commented on Jun 8, 2023

    @BrianDT

    I believe this also occurs on iOS and on Android the transport controls are removed.
    On iOS
    IMG_0001

    On Android
    Screenshot_2023-06-08-10-45-13-477_com VSSL UnoProgMediaPlayerElementIssue

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

Metadata

Metadata

Assignees

Labels

kind/bugproject/media 📺

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions