nativescript-audio
nativescript-audio copied to clipboard
Loop on Android not Working
Hello!
When testing my app on Android devices, I've noticed that the loop feature does not work:
const playerOptions = {
audioFile: '~/audio/box-fan.mp3.png", //.png because the .mp3 doesn't work directly
loop: true,
autoplay: true
};
player
.playFromFile(playerOptions)
.catch(function(err) {
console.log('something went wrong...', err);
});
not working for me neither! (I fixed the file extension issue using this: issue's comment)