Search code examples
azuremedia-playerazure-media-services

Azure Media Player Doesn't Support Browser


I have created a Azure Media Service WhichEncode, Encrpts and creates the delivery policy for asset. I am generating the URL which is perfect but doesnt play with Azure Media Player. I get error, can anyone help on this. This is the error I get When try to  play my encrypted Video

Edit: I tried uploading and manually apply content protection and then playing media from azure itself. which also returns the similar error. enter image description here


Solution

  • I hate to answer my question, but finally I figured it out the issue. Here I did to fix this Issue.

    1. First I checked and made sure that Streaming Endpoint is running. enter image description here
    2. I was Using HLS And Smoothing protocol, seems these requires the flash support in the browser. You can a piece of code in your method where you are creating delivery policy "CreateAssetDeliveryPolicy". enter image description here

    3. The above changes now will be enough to get URL to play on any browser, but if you are writing your own code for playing those encoded videos then please make sure about format. It's really not necessary but I had to enforced the encoding format to Dash. enter image description here

    4. if you still face an issue in playing video, then make sure that manifest protocol(http/https) is same as the protocol(http/https) with which you are requesting.