Start a new topic

unsupported code for DRM protected dash

 Hi,

I downloaded a free complete version of player. It works fine when i play any DASH or HLS video. But comes up with errors when I want to play DRM protected video. The html file is attached.

The errors come to be as below:


worker.html:1 Uncaught SyntaxError: Unexpected token <
http://myserver/drm-protected-stream.mpd Failed to load resource: net::ERR_NAME_NOT_RESOLVED
viblast.js:4 This appears to be Chrome
http://127.0.0.1/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
viblast.js:48 [16:03:40] [vb] Error(LicenseCheck.cc:158): [LicenseCheck] Invalid License.  Showing watermark and disabling PDN.

html
(717 Bytes)

Hello,


Can you remove "async" from the viblast.js script loading tag?

I.e.:

 <script async src="viblast.js"></script>

to be

 <script src="viblast.js"></script>


I did but still coming up with the following error:

This appears to be Chrome
worker.html:1 Uncaught SyntaxError: Unexpected token <
http://127.0.0.1/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
viblast.js:48 [11:47:16] [vb] Error(LicenseCheck.cc:158): [LicenseCheck] Invalid License.  Showing watermark and disabling PDN.

 

Did you try to configure your stream in the portal?

https://portal.viblast.com/#!/navigate/home.companies.details.dashboard.streams.create

You can enter your stream url and under Advanced Options->DRM Settings you can configure your drm.


If the stream plays properly without errors you can check your html. If the stream doesn't play you have to check your stream/drm settings or urls.


Ok . I will do it. But why it is not playing on machine. As DASH and HLS are playable but this DRM protected is not getting played. I am using your mpd file and you free key. I think it must be played

 

the mpd url of

 http://myserver/drm-protected-stream.mpd is not CORS enable. This error is showing on the player link you provided

Hello,


The url provided is a figurative one. It is well formatted, but not available.

http://myserver/drm-protected-stream.mpd means "DRM protected stream served by my server".


I strongly recommend to test with your own streams.



I tried to workout on worker.html file and coming up with only one error
I am attaching the file . Kindly please try to run it and rectify it

 

html
(731 Bytes)
i tested with stream

 http://level3-cdn.axprod.net/demo/manifestprot.ism/.mpd


with widevine license key of

http://axpr-wv-fe.cloudapp.net:8080/LicensingService


viblast key

N8FjNTQ3NDdhZqZhNGI5NWU5ZTI=


still with some errors



Hello,


The stream "http://level3-cdn.axprod.net/demo/manifestprot.ism/.mpd" is not accessible.

Please verify your streams before reporting Viblast Player issues.


We respect your time and expect the same from you!





Hi,
The link is accessible and is DRM protected . that is why it is unable to upload. Can you provide me some encrypted .mpd file and its widevine free license key. So that I can check it

 

Hi,

No, we don't provide test streams.