audioplayer icon indicating copy to clipboard operation
audioplayer copied to clipboard

run it under web, threw below exception

Open stoneLee81 opened this issue 4 years ago • 3 comments

state == AudioPlayerState.PLAYING is not true, null) at Object.throw [as throw] (http://localhost:61390/dart_sdk.js:4334:11) at StandardMethodCodec.decodeEnvelope (http://localhost:61390/packages/flutter/src/services/system_channels.dart.lib.js:780:19) at platform_channel.MethodChannel.new._invokeMethod (http://localhost:61390/packages/flutter/src/services/system_channels.dart.lib.js:943:32) at _invokeMethod.next () at http://localhost:61390/dart_sdk.js:37603:33 at _RootZone.runUnary (http://localhost:61390/dart_sdk.js:37457:58) at _FutureListener.thenAwait.handleValue (http://localhost:61390/dart_sdk.js:32441:29) at handleValueCallback (http://localhost:61390/dart_sdk.js:32988:49) at Function._propagateToListeners (http://localhost:61390/dart_sdk.js:33026:17) at _Future.new.[_completeWithValue] (http://localhost:61390/dart_sdk.js:32869:23) at async._AsyncCallbackEntry.new.callback (http://localhost:61390/dart_sdk.js:32891:35) at Object._microtaskLoop (http://localhost:61390/dart_sdk.js:37718:13) at _startMicrotaskLoop (http://localhost:61390/dart_sdk.js:37724:13) at http://localhost:61390/dart_sdk.js:33243:9Application finished.

flutter --version

Flutter 1.21.0-9.1.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision be9bc8cb39 (5 days ago) • 2020-08-18 09:46:08 -0700 Engine • revision 267070c17a Tools • Dart 2.10.0 (build 2.10.0-7.2.beta)

stoneLee81 avatar Aug 23 '20 14:08 stoneLee81

I have the same problem, anyone have the answer?

rafalzagoorski avatar Sep 04 '20 09:09 rafalzagoorski

same problem here, any fix?

DroidGar avatar Sep 26 '20 18:09 DroidGar

same problem when call play() again after player stopped. also. I tried call play() after recreate AudioPlayer object, but same problem has occured.

jidogoon avatar Jan 27 '21 08:01 jidogoon