How to play .MP3 URL in Xmarine MediaPlayer ANDROID C#

Hello,

We are working with Xmarine MediaPlayer to play an simple .MP3 through URL. But we are unable to access my "https" website URL but can access "http" website. I have used the below mentioned code. Please suggest what to do.

MediaPlayer player = new MediaPlayer();
player = MediaPlayer.Create(this, Android.Net.Uri.Parse("https://www.EXAMPLE.com/TEST.mp3"));
player.Start();

Answers

  • BillyLiuBillyLiu Xamurai Member, Xamarin Team Xamurai

    @soumenhalder

    I have tested your code with some https links. They all work.
    What's the error do you get and what's your environment?

Sign In or Register to comment.