I try to do a playlist in javascript, and the problem is it work on Firefox and google chrome but in xamarin only the first one is working but if i do a "newi.play();" on event like button's click it work. Do you have any tips to fix the problem ?
newi = new Audio(urlfirst);
newi.play();
newi.addEventListener("ended", function() {
newi = null;
newi = new Audio(urlsecond);
newi.play();
});