DRM License URL
abdul opened this issue · 3 comments
abdul commented
A lot of people use Shaka Player for it's capabilities to play DRM (widevine and playready) protected content.
Can you please add a way to let people specify license-urls?
The easiest way I think of:
this._player.load(new shaka.player.DashVideoSource(this.options.src, interpretContentProtection))
/**
* @param {string} schemeIdUri The ContentProtection's scheme ID URI.
* @param {!Element} contentProtection The ContentProtection element.
* @return {!Array.<shaka.player.DrmInfo.Config>} An array of Config
* objects or null if the element is not understood by this application.
*/
function interpretContentProtection (schemeIdUri, contentProtection) {
}
Let people override interpretContentProtection?
Thank you
-abdul
leandromoreira commented
Thanks for the heads up @abdul I'll check that later 😄
leandromoreira commented
@abdul can you test it now?
abdul commented
@leandromoreira it works, thank you :-)