videojs-contrib-eme icon indicating copy to clipboard operation
videojs-contrib-eme copied to clipboard

TypeError: player.eme is not a function

Open davitsargsyan92 opened this issue 10 months ago • 2 comments

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 avatar Apr 29 '24 12:04 davitsargsyan92

I want to add DRM configuration for HLS streams

davitsargsyan92 avatar Apr 29 '24 12:04 davitsargsyan92

Hi! In my case it works like this:

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

alexlol76 avatar May 01 '24 09:05 alexlol76