Skip to content

[Gallery][Wasm/iOS/Android]MediaPlayerElement Fastforward and Fastrewind button is not working properly for all options. #12649

Description

@sakshi173

Current behavior

when click on Fast-forward or Fast rewind button sound of media player gets very slow and blur.

Expected behavior

The sound should work properly when click

How to reproduce it (as minimally and precisely as possible)

  1. Open Uno Gallery APP
  2. Click Burger Menu on the left top right (if the menu is not already opened)
  3. Click "MediaPlayerElement" from the "UI Components" list.
  4. Launch first or third sample:
  5. "MediaPlayerElement sample using PosterSource, TransportControls, and a URL link with mp3 format (audio only)"
  6. Click on Fastforward and Fastrewind button.
  7. Notice that sound of video is get bad and does not play properly.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

WebAssembly, Android, iOS

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    platform/wasm 🌐
    platform/android 🤖
    platform/ios 🍎
    triage/untriaged
    area/canary 🐤
    difficulty/tbd
    on Jun 20, 2023
  2. added
    project/media 📺
    on Jun 26, 2023
  3. rafael-rosa-knowcode commented on Jun 26, 2023

    @rafael-rosa-knowcode
    Contributor

    The MediaPlayerElement for Android and IOS does not have the PlaybackRate implemented.
    Therefore, we were unable to update the playbackrate speed as with GTK and Wasm.
    So, when I had created the resource, I implemented an update to the current time position value (mediaPlayer.PlaybackSession.Position) (both up (foreward) and down (rewind)).
    With that we have a time acceleration in sequence (2x, 4x,..) but the sound is not sequential (like accelerated using the PlaybackRate.)

    In that case, should we remove the feature from mobile, while it's not possible to do something similar to the playbackrate update?

    For the moment:
    Now we limit the speed as the Windows Platform.
    And we mute the audio when rewind as the windows Platform.
    Removed the slow motion and start from 2x.
    And we make the Pause stop the Fastforeward or FastRewind when the pause is tap, but not paused the video..
    In this PR: #12713

  4. MartinZikmund commented on Aug 9, 2023

    @MartinZikmund
    Member

    Reopened for backport #13180

  5. added and removed
    triage/untriaged
    on Aug 9, 2023
  6. MartinZikmund commented on Aug 10, 2023

    @MartinZikmund
    Member

    Done!

  7. sakshi173 commented on Aug 15, 2023

    @sakshi173
    Author

    @agneszitte this issue is fixed and can close. (Only I am seeing when click Fast rewind button then sound of the video stops but the video is rewinding properly. please let me know if I need to open separate defect for that.

  8. agneszitte commented on Aug 15, 2023

    @agneszitte
    Member

    @agneszitte this issue is fixed and can close. (Only I am seeing when click Fast rewind button then sound of the video stops but the video is rewinding properly. please let me know if I need to open separate defect for that.

    What do you think @MartinZikmund / @rafael-rosa-knowcode ? (cc @jeromelaban)

  9. jeromelaban commented on Aug 15, 2023

    @jeromelaban
    Member

    Let's open an new one @sakshi173, thanks!

  10. sakshi173 commented on Aug 15, 2023

    @sakshi173
    Author

    As @jeromelaban suggested, will open new defect for sound issue, but this issue is fixed due to that closing it.

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

Metadata

Metadata

Labels

area/canary 🐤backporteddifficulty/tbdkind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/media 📺

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions