Hi,
Ive used the following support page to play music throughout my app.
https://getsatisfaction.com/apperyio/...
the app works great in browser test, apperyio test app and on ios. But when I export to android it doesn't play any any music (Ive debugged it and the code is running correctly)
the code is as follows
var onLoad = function() {
var audioText = 'source src="https://files/resources/image/XappY.mp3"/source';
var audio = jQuery(audioText);
jQuery("body").append(audio);
console.log("load m");
};
jQuery(window).bind("load", onLoad);
function PlayTrack(src) {
console.log("load music");
var au = jQuery("#yourAudio");
au.attr("src", src);
if (au[0] && au[0].play) au[0].play();
}
function StopPlayTrack() {
var au = jQuery("#yourAudio");
if (au[0] && au[0].play) au[0].pause();
}
Any help wold be great
thanks