Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRM License URL #5

Closed
abdul opened this issue Mar 3, 2016 · 3 comments
Closed

DRM License URL #5

abdul opened this issue Mar 3, 2016 · 3 comments

Comments

@abdul
Copy link

abdul commented Mar 3, 2016

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
Copy link
Member

Thanks for the heads up @abdul I'll check that later 😄

@leandromoreira
Copy link
Member

@abdul can you test it now?

@abdul
Copy link
Author

abdul commented Mar 3, 2016

@leandromoreira it works, thank you :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants