• Hi,

    I installed your plugin, but when I use the shortcodes [sermons], I get a Javascript error.

    First it says that it doesn’t have the method ‘.live’ in ajax.js, which is deprecated so I changed it to .on, but then I get the error: Uncaught TypeError: Object [object Object] has no method ‘mediaelementplayer’

    I checked your DEMO site but on the shortcode page it gives the same error.

    I hope you can fix this. Somehow it doesn’t load the mediaelement JS which it should, so that’s why it cannot find the method ‘mediaelementplayer’.

    http://ww.wp.xz.cn/plugins/sermon-manager-for-wordpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I get the same error.

    What version of WP are you using and do you have media element player installed as a separate plugin? What browser and OS are you using?

    It is possible to have several to many copies of mediaelement.js trying to be called.

    You may want to read through this. It is not directly related but may help you troubleshoot.

    SM is loading it’s own copy of mediaelement.js which is now included in WP 3.6+ so there might be a conflict. If you know your PHP then I’d start by going to the SM plugin folder, sermons.php, line 101. You could try to comment it out and see what happens.

    Fixed in my development version.

    You can modify your local copy if you are comfortable with that otherwise wait until Jack puts it into the next release.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Object has no method 'mediaelementplayer'’ is closed to new replies.