You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/10 21:06:35 UTC

[GitHub] [cordova-plugin-media] Taxi4you opened a new issue #257: What is the url path?

Taxi4you opened a new issue #257: What is the url path?
URL: https://github.com/apache/cordova-plugin-media/issues/257
 
 
   I am using webpack.. what is the path of the audio file that I should use?
   
   I have tried this:
   `import newOrderSound from '@assets/audio/notifications/order.mp3'`
   `let media = new Media(newOrderSound)`
   
   I have tried:
   `let media = new Media(media/order.mp3)`
   Works only on iOS.
   
   How to grab that file in Android when using Cordova + Webpack?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org