Content Protection (DRM) Configuration
There are two ways for LuraPlayer to play encrypted content protected with Digital Rights Management (DRM) systems. LuraPlayer currently supports fairplay, widevine, and playready.
Adding DRM to Your Content From MCP
You can add DRM to your content from MCP without any configuration on the player side. Follow the guide in Adding DRM to Your Content From MCP page.
Adding External DRM
For each DRM system, the license URL and other necessary properties must be provided.
FairPlay
For fairplay, the licenseUrl and fairplayCertificate properties must be specified.
LuraPlayer("player", {
...
licenseUrl: "YOUR_DRM_LICENSE_URL",
fairplayCertificate: "YOUR_BASE64_FAIRPLAY_CERTIFICATE",
...
});
Widevine
For widevine, only the licenseUrl property must be specified.
LuraPlayer("player", {
...
licenseUrl: "YOUR_DRM_LICENSE_URL",
...
});
Playready
For playready, only the licenseUrl property must be specified.
LuraPlayer("player", {
...
licenseUrl: "YOUR_DRM_LICENSE_URL",
...
});