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

Error on PlayReady: "plugin "eme" does not exist" #94

Closed
nskhara opened this issue Sep 4, 2019 · 2 comments
Closed

Error on PlayReady: "plugin "eme" does not exist" #94

nskhara opened this issue Sep 4, 2019 · 2 comments

Comments

@nskhara
Copy link

nskhara commented Sep 4, 2019

Hello.

When trying PlayReady on Windows 10 Edge/IE11, an error appears in the console.

plugin "eme" does not exist

I can't figure out what the problem is though do you have any idea?

Below is the html I am using (in text file).
index.txt

Currently, this is as far as I know.

  1. License request will be thrown and succeeds but it will not start playback.
  2. When I delete "data-setup='{"plugins": {"eme": {}}}'" on the video tag, the error disappears, though it will not start playback.(License request will succeed)

NOTE:
The code works fine when executing on Chrome+Widevine.

@molten-firescar96
Copy link

Make sure to import the plugin first. Either import it into your html file using a src tag. Or add
import videojs-contrib-eme to your javascript.

@gkatsev
Copy link
Member

gkatsev commented Nov 21, 2019

Basically, remove the data-setup attribute and instead call eme() manually, or pass the {plugins: {eme: {}}} options to videojs().

@gkatsev gkatsev closed this as completed Nov 21, 2019
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

3 participants