We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Someone has already implemented mediaelement via RequireJS? I encounter the following error: Uncaught TypeError: a.default is not a function
mediaelement
Uncaught TypeError: a.default is not a function
RequireJS config :
requirejs.config({ paths: { jQuery: 'https://code.jquery.com/jquery-3.6.3.min', mediaElement: 'https://cdnjs.cloudflare.com/ajax/libs/mediaelement/6.0.1/mediaelement-and-player.min' }, shim: { "mediaElement": { deps: ["jquery"] } } }); require(['jQuery','mediaElement'], function($, MediaElementPlayer) { 'use strict'; var player = new MediaElementPlayer('player-audio', { //player configuration here... });
JsFiddle example.
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Someone has already implemented
mediaelement
via RequireJS? I encounter the following error:Uncaught TypeError: a.default is not a function
RequireJS config :
JsFiddle example.
Thanks
The text was updated successfully, but these errors were encountered: