-
Notifications
You must be signed in to change notification settings - Fork 72
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
How to use this library to detect SupportedCDMs #191
Comments
The function is replaced with an object when the plugin has initialised. |
Hello @lapalb , I still can't get what you mean. A bit confused. If posible can you please give me a code sample. That's would be much easier to understand. Thank you. |
@lapalb it seem the plugin is added success. But the player.eme.detectSupportedCDMs() not work.
|
@vanminhquangtri I am also facing the same issue, maybe they forgot to expose the function as I cannot see detectSupportedCDMs inside the eme object. |
I have used Videojs already and want to use videojs-contrib-eme to detect the support DRM key before apply the DRM. But I don't actually understand how to use detectSupportedCDMs(). I see it has player.eme.detectSupportedCDMs() but don't understand what is player here?
This is my main code:
import 'videojs-contrib-eme'
But it keep show error: window.player.eme is not a function
The text was updated successfully, but these errors were encountered: