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

TypeError: player.eme is not a function #216

Open
davitsargsyan92 opened this issue Apr 29, 2024 · 2 comments
Open

TypeError: player.eme is not a function #216

davitsargsyan92 opened this issue Apr 29, 2024 · 2 comments

Comments

@davitsargsyan92
Copy link

Hello Everyone .
Can someone please provide proper example how to setup with videojs properly ?

I get this error TypeError: player.eme is not a function

@davitsargsyan92
Copy link
Author

I want to add DRM configuration for HLS streams

@alexlol76
Copy link

alexlol76 commented May 1, 2024

Hi!
In my case it works like this:

import videojs from 'video.js';
import videojsContribEme from 'videojs-contrib-eme';
...
videojs.registerPlugin('eme', videojsContribEme);

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

No branches or pull requests

2 participants