flutter_sound icon indicating copy to clipboard operation
flutter_sound copied to clipboard

How to play audio file from local resource

Open wijesijp opened this issue 3 years ago • 1 comments

I follow the example to play a file from URL here; https://github.com/Canardoux/flutter_sound/blob/master/flutter_sound/example/lib/simple_playback/simple_playback.dart

What I want to do is play audio file in my assets

Can you please provide some assistance to play file from assets?

wijesijp avatar May 18 '22 17:05 wijesijp

You can look to this example This example starts 3 players :

  • the first one plays a remote URL
  • the second and third players play local assets

Larpoux avatar May 18 '22 19:05 Larpoux

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.

github-actions[bot] avatar Dec 03 '23 01:12 github-actions[bot]