azureazure-media-servicesazure-media-player

Azure media player does not work if "azuremediaplayer.min.js" is not included in the file


I am trying to integrate azure media player in my android app.

It didn't work what I pass manifest url to videoView along with .ism/manifest(format=m3u8-aapl-v3)

So I decided to play it on chrome for testing.

The issue is video does not work if i comment out following <script> tag

 <script src="https://amp.azure.net/libs/amp/latest/azuremediaplayer.min.js"></script>

If this script is there, it works just fine.

Now my questions is that, when there is no android SDK available for Azure media player, how it will work on android when it does not work in browser without <script>


Solution

  • If you are building a native Android application, you would typically use a more native player framework like ExoPlayer.

    https://github.com/google/ExoPlayer

    When using ExoPlayer, you can then use either the HLS or DASH manifest URL from Media Services.