diff --git a/packages/audioplayers/lib/src/audioplayer.dart b/packages/audioplayers/lib/src/audioplayer.dart index ebba5a0ad..ba91c0684 100644 --- a/packages/audioplayers/lib/src/audioplayer.dart +++ b/packages/audioplayers/lib/src/audioplayer.dart @@ -199,10 +199,12 @@ class AudioPlayer { if (ctx != null) { await setAudioContext(ctx); } + + await setSource(source); if (position != null) { await seek(position); } - await setSource(source); + await resume(); }