Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin.form Webview (IOS,Android) bug with JavaScript

$
0
0

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();

    });

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>