Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

AudioPlayerState.PAUSED is not detected on Web #152

Open
digitalrbnz opened this issue Apr 13, 2021 · 0 comments
Open

AudioPlayerState.PAUSED is not detected on Web #152

digitalrbnz opened this issue Apr 13, 2021 · 0 comments

Comments

@digitalrbnz
Copy link

Listening for state changes to the audio player with the following and not seeing any AudioPlayerState.RESUME also, even thought the ENUM talks about resume, there is no such function.

/// Paused. The user can [resume] the playback without providing the URL.
PAUSED,

    player.onPlayerStateChanged.listen((AudioPlayerState s) {
      playerState = s;
      print(playerState);
    });

audioplayer: ^0.8.1
audioplayer_web: ^0.7.1

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.1.0-13.0.pre.293, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-NZ)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.55.1)
[✓] Connected device (2 available)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant