nativescript-audio icon indicating copy to clipboard operation
nativescript-audio copied to clipboard

Loop on Android not Working

Open LucyTurtle opened this issue 5 years ago • 1 comments

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);
   });

LucyTurtle avatar Dec 10 '19 19:12 LucyTurtle

not working for me neither! (I fixed the file extension issue using this: issue's comment)

entelostre avatar Feb 27 '21 14:02 entelostre