1. Play existing video
This article is a part of a DRM Quick Start Guide.
Let’s start "at the end" and check how to play a DRM-protected video (after all, this is what we want to accomplish). Axinom DRM Video Playback Tool makes it very easy and understandable.
If you don’t have any DRM-protected video yet, it’s not a problem. In the tool just pick one of the test vectors published by Axinom.
|A "test vector" is simply a video, protected with known parameters and published for test purpose.|
Later, when you have protected your own videos, you can use the same playback tool with the URL of your video.
The tool will create a necessary entitlement message and a license service message on its own. The tool knows the key/keyId used to encrypt the video, because we have test vectors here.
An Entitlement Message is a JSON data structure that instructs Axinom DRM License Service to issue a DRM license and sets various license parameters, such as duration or security requirements.An Entitlement Message is a JSON data structure that instructs Axinom DRM License Service to issue a DRM license and sets various license parameters, such as duration or security requirements.
Axinom DRM License Service Message is a JSON data structure designed to deliver data to and from the Axinom DRM License Service. Axinom DRM License Service Message is used to encapsulate inner messages defined in the context of Axinom DRM, such as Entitlement Message and License Request Info Message. An Axinom DRM License Service Message is packaged into a signed JSON Web Token (JWT) before delivery.
You only need to provide your
Communication Key ID and
Communication Key to produce a signed JWT. These values are available on axinom-drm-configuration.pdf file of your DRM account.If you dont have an account please request a free trial from My Mosaic DRM section.
Enter the URL of a license service (keep the defaults or take them from your DRM configuration).
Pick one of the suggested players and you are ready to play the video. For every player, the tool will call a demo-page where the respective player is integrated and will pass the following:
URL of a protected video
License Service URL
JWT containing an entitlement message.
If you would like to integrate Axinom DRM to your video player, check Integrate a video player.