Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to play DRM content in JW Player Android ?


I want Play video and audio files which are DRM protected.For DRM service we have used EZDRM. For Android, we are using the Widevine provider.

I am able to play Video content in JW stream tester player tools from .I have given Widevine Url and File URL in the link and its playing(Working).

Now I want to integrate this thing in Android so I follow MediaDrmCallback adding related process from this URL

But compare to Stream Tester Tools and Android MediaDrmCallback sample code both have different options. So can anyone please help me out what we need to pass in extra parameters. Are those parameters are optional? If not then can I get the details or link where it contains any description?
eg. Android WidevineMediaDrmCallback sample code from above link

contentId >> What is content id ?
provider >> What is provder ? EZDRM or WIDEVINE ?

Can anyone from JW player team provide sample code or help guide where these things are defined for Android?

I tried with below things

WidevineMediaDrmCallback widevineMediaDrmCallback = new WidevineMediaDrmCallback("MyDRMContentId", "EZDRM");
Where MyDRMContentId is the content id which is used when genereating widevine ServerUrl from EZDRM

Note: My user type is Free, But before purchasing license just wants to make sure DRM process will work from JW player

1 Community Answers


JW Player Support Agent  
2 rated :


How did you set it up on the Web Player?
What are your DRM credentials?

This question has received the maximum number of answers.