Skip to content

Doesn't play audio from '/storage/emulated/0' and its sub-directories #37

@Farial-mahmod

Description

@Farial-mahmod

I have followed ocarina's official example from lib/main.dart:

_ElevatedButton(
child: Text("Play asset audio"),
onPressed: () async {
final player = OcarinaPlayer(
asset: 'storage/emulated/0/Quran.mp3', loop: _loop);
setState(() {
player = player;
});
}),

This snippet fails to load an MP3 file that exists in the described filesystem and can be played by YouTube Music Player locally .

Kindly, have a look .

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions