Open kierancrown opened 3 months ago
how do you get file? from document picker? which platform was you using? (android or ios)
it should be
await load({
uri: `file://{audio.fileUrl}`,
key: audio.fileUrl,
volume: audio.volume / 100,
loop: false,
});
play({
uri: `file://${audio.fileUrl}`,
key: audio.fileUrl,
})
The documentation mentions that files can be loaded from either a
http
orfile
url. I've not been able to load local files successful and the example doesn't seem to show how to achieve this?