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.
Edit: I tried uploading and manually apply content protection and then playing media from azure itself. which also returns the similar error.
I hate to answer my question, but finally I figured it out the issue. Here I did to fix this Issue.
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".
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.
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.