bluefireteam / audioplayers

A Flutter package to play multiple audio files simultaneously (Android/iOS/web/Linux/Windows/macOS)
https://pub.dartlang.org/packages/audioplayers
MIT License
1.96k stars 837 forks source link

Wrong path on web #1005

Closed rickyok closed 1 year ago

rickyok commented 2 years ago

If i enter URL

audioPlayer.play("assets/sounds/paimon.mp3", isLocal: true);

The result on the browser will be looking the URL at domain.com/assets/sounds/paimon.mp3

The build result on the Web is actually on domain.com/assets/assets/sounds/paimon.mp3

So it cannot find the file

mc10sw commented 2 years ago

i have same issue.

sorawee-midassoft commented 2 years ago

same

version audioplayers: ^0.20.1

pramodkr123 commented 2 years ago

same issue

Gustl22 commented 1 year ago

Close in favor of #911