ExpressPlay uDRM™ by Intertrust is a cloud-based DRM platform to support all major DRMs. Radiant Media Player is compatible with ExpressPlay uDRM™ technology to reliably deliver content with DASH with both Widevine and PlayReady DRM. You can review our compatibility table for DRM with DASH streaming here.
This documentation will guide on how to easily implement ExpressPlay uDRM ™ with Radiant Media Player.
First, you will need an account with ExpressPlay uDRM™ and to prepare your content for DASH streaming with Widevine and PlayReady DRM. Radiant Media Player will take care of loading and parsing the DASH manifest, contacting the DRM licensing servers and displaying content when authorised. Our DASH streaming & DRM implementation is based on Shaka player. Documentation for DASH streaming with Radiant Media Player can be found here. Documentation for using DRM with Radiant Media Player can be found here. Below you will find a complete example for using ExpressPlay uDRM™ with Radiant Media Player.
<script src="https://cdn.radiantmediatechs.com/rmp/5.12.5/js/rmp.min.js"></script> <div id="rmpPlayer"></div> <script> // DASH streaming URL // DASH content must have been packaged with Widevine/Playready DRM beforehand var src = { dash: 'https://your-dash-url.mpd' }; // Widevine ExpressPlay token var widevineToken = 'widevine-expressplay-drm-token'; // Playready ExpressPlay token var playReadyToken = 'playready-expressplay-drm-token'; // license server for Widevine // the below examples are test DRM servers - use the production server URL provided by ExpressPlay when configuring your player var widevineLaURL = 'https://wv.test.expressplay.com/hms/wv/rights/?ExpressPlayToken=' + widevineToken; // license server for PlayReady var playReadyLaURL = 'https://pr.test.expressplay.com/playready/RightsManager.asmx?ExpressPlayToken=' + playReadyToken; // Radiant Media Player settings var settings = { licenseKey: 'your-license-key', src: src, width: 640, height: 360, contentMetadata: { poster: [ 'https://your-poster-url.jpg' ] }, // here we pass our custom DRM data shakaDrm: { servers: { "com.widevine.alpha": widevineLaURL, "com.microsoft.playready": playReadyLaURL } } }; var elementID = 'rmpPlayer'; var rmp = new RadiantMP(elementID); rmp.init(settings); </script>
©2015-2021 Radiant Media Player. All rights reserved.