I’ve made a bit more progress in finding out where the error lies but I still can’t figure out how to get any of my tracks to play when you click on them.
Running console and clicking on a track gives me these errors:
TypeError: jQuery(...).jPlayer is not a function mp3-jplayer-2.3.2.js:632:2
Empty string passed to getElementById(). jquery.min.js:2:0
I’ve tried running various versions of jquery and mucking around with the code but I am unable to figure out the issue.
Any help would be appreciated…
Hello, it looks to be because of the extra jquery-ui script that’s hard coded into the site header, it’s on line 50 of the html. Let me know if that solves it or not.
Thanks for the reply Simon,
I removed the extra ui script but am still having the same issue:
TypeError: jQuery(...).jPlayer is not a function --- mp3-jplayer-2.3.2.js:632:2
Empty string passed to getElementById(). --- jquery.min.js:2:0
I moved my jquery script to the <head> because it was causing issues being in the footer.
Hi Simon,
I am having the same kind of issue, my audio won’t play, not a single file nor a playlist. I know that it see’s the file because it show’s me the title but it just won’t play. It worked until the last update.
Any help would be appreciated…
here is the site
I’m having the same issue. Same playlist code I’ve used for years no longer works. I’m not even seeing the “skin” of the player.
Sorry, never mind. Something happened with my skin choice. All working for me now.
I found the issue, and it was not with the plugin. The issue was with the following code from the Roots (https://roots.io/) framework I had running.
lib/scripts.php
file:
if (!is_admin() && current_theme_supports('jquery-cdn')) {
wp_deregister_script('jquery');
wp_register_script('jquery', $assets['jquery'], array(), null, true);
add_filter('script_loader_src', 'roots_jquery_local_fallback', 10, 2);
}
Removing this bit of code clears up the issue. If others are having this issue scan your code for scripts that potentially remove/add jquery scripts.
I actually just resolved the issue, i deleted the plugin and all the correlating files in phpmyadmin, then reinstalled it and it works. make sure audio files are set to 755
hey , how can i put the plugin on my homepage? i’m a beginner that’s why i dont know this. thanks