metalalchemist commented on issue #389:
URL: 
https://github.com/apache/cordova-plugin-media/issues/389#issuecomment-1885433531

   getaccetpath is a cordova function or is your function.
   i'm using all that your say and not working. this is in my index.js then of 
deviceready.
   function playAudio(src) {
       musica = new Media("/sounds/"+src+".mp3", null, null, function (status) 
{ if (status === Media.MEDIA_STOPPED) musica.play({playAudioWhenScreenIsLocked: 
false});});
       musica.play({playAudioWhenScreenIsLocked: false});
   }
   i'm using macos 14.1
   when i using ventura this worked for me except i added the / like you say me.
   i think that the problem is my mac, because i am using open core.
   i am using 3 Media players to play audio, one for te music, other for 
ambience and other for effects.
   maybe i can use only one? but, in ventura i can use 3 Media like i say you.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to