WP7: play MP3 using Media with phonegap/Cordova
- by Loda
My problem:
I use the Media Class from Cordova.
The MP3 file is only played once (the first time).
Code:
Add this code to the Cordova Starter project to reproduce my problem:
var playCounter = 0;
function playMP3(){
console.log("playMP3() counter " + playCounter);
var my_media = new Media("app/www/test.mp3");//ressource…