I'm using this awesome library on the oncoming MediaElementJS release. However, while testing some scenarios, I'm having some issues when using RequireJS.
require([/path/to/mediaelement-and-player.min], function() { ... });
throws the next sequence of errors (in that order):
Uncaught ReferenceError: Hls is not defined (https://github.com/johndyer/mediaelement/blob/3.x-dev/src/js/mediaelement-renderer-hls.js#L105)
Uncaught (in promise) DOMException: Failed to load because no supported source was found.
Uncaught Error: Mismatched anonymous define() module (https://github.com/johndyer/mediaelement/blob/3.x-dev/src/js/mediaelement-renderer-hls.js#L60)
I've tried different ways to solve this and still no success.
Any advise you can provide me on how to solve this issue would be greatly appreciated it. Thanks
I'm using this awesome library on the oncoming MediaElementJS release. However, while testing some scenarios, I'm having some issues when using RequireJS.
throws the next sequence of errors (in that order):
Uncaught ReferenceError: Hls is not defined(https://github.com/johndyer/mediaelement/blob/3.x-dev/src/js/mediaelement-renderer-hls.js#L105)Uncaught (in promise) DOMException: Failed to load because no supported source was found.Uncaught Error: Mismatched anonymous define() module(https://github.com/johndyer/mediaelement/blob/3.x-dev/src/js/mediaelement-renderer-hls.js#L60)I've tried different ways to solve this and still no success.
Any advise you can provide me on how to solve this issue would be greatly appreciated it. Thanks