• So I updated wordpress to 3.1 and am using j-player 1.4.3

    Everything worked fine before updating, but now safari doesn’t show the current track. it shows the playlist fine and when you click on an item it plays, but you still don’t see the current track that is playing in the window above the player control buttons.

    see here: https://www.thehollywood5.com/

    Firefox, and IE show it fine.

    Any ideas?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author simon.ward

    (@simonward-1)

    It’s a bug with the way i’m enqueueing jquery UI components, i’m trying to get the release finalised that includes the fix for this, it’s not too far off now. Basically it’s because your theme or another plugin uses UI too (but correctly!)

    If you comment out line 909 of mp3jplayer.php (the line that tries to enqueue ui.core.js) i think it will fix it for the moment.

    Simon

    Thread Starter CldSwm

    (@cldswm)

    Hey Simon, thanks for getting back so quick! I tried your fix to comment out the ui.core.js, but that didn’t change anything unfortunately. Any other ideas?

    Thanks!
    Joey

    Thread Starter CldSwm

    (@cldswm)

    furthermore commenting it out broke my layout, messed with my divs for some reason…so i ended up putting it back in.

    Plugin Author simon.ward

    (@simonward-1)

    Could try the other way around, commenting out the one that appears in the footer, might make more sense.

    Simon

    hi Simon,
    I’m having the same issue with my url: https://www.heartlandfw.org/music

    works perfect in Firefox, but not in Safari or Chrome. same kinds of issues as this thread.

    any other ideas on a fix?

    Thread Starter CldSwm

    (@cldswm)

    hey thefrinck. i was able to get it working by de-registering wordpress’s included jquerey core. the plug-is the culprit. I believe using an outdated version of ui.core

    thanks CldSwm,
    i have only a bit of experience modifying PHP. can you please let me know how to de-register jquery core? thanks

    Thread Starter CldSwm

    (@cldswm)

    just add this line to your functions.php file in your theme directory.

    wp_deregister_script(‘jquery-ui-core’);

    worked perfect. thanks so much. saved me tons of headache

    CldSwm,
    sorry to bring up the issue again, but since I de-registered jquery core, i can’t modify my menus because dragging and dropping isn’t working. i assume that’s because i de-registered jquery. any ideas on how to work that out?

    Plugin Author simon.ward

    (@simonward-1)

    @thefrink,

    jquery has been hard coded into your theme, so it gets loaded twice. it will break something sooner or later even if it’s not immediately obvious, that site runs real slow.

    I think i saw also some non-standard UI scripts in there like ui.core.pack.js ?

    Currently this plugin uses some standard wp included ui stuff but they’re not enqueued properly (that is they don’t get pulled from wp-includes folder, my bad) so trying to de-register them probably won’t do anything unfortunately. You’d need to remove it from the plugin itself if you wanted to go that route (has been sorted for next version).

    Simon

    Thread Starter CldSwm

    (@cldswm)

    hey thefrink, you can just add this to your functions.php theme and then jquery core will load anytime you are in the admin area.

    if ( !is_admin() ) {
    wp_deregister_script(‘jquery-ui-core’);
    }

    Thread Starter CldSwm

    (@cldswm)

    just to clarify, it is my understanding that this is the issue. the plugin is loading an old version of jquery core. the plugin is dependent on this version and won’t work on the version that wordpress automatically includes. therefore de-registering your wp jquery core only for your front-end (using the !is_admin) will work. The only things that won’t work are jquery scripts either in your theme or other plugins that required the latest jquery core.

    hi cldswm

    i just saw ur site https://www.thehollywood5.com/ and found mp3 jplayer working great. can u tell me which version of wordpress and mp3 jplayer u are using now. i have tried wordpess 3.1.3 with jplayer 1.7.1 .. not working at all

    another voice letting you know this seems partially broken with the current wp.
    It works fine for me in FF and IE but tracks do not play properly in the latest chrome – sometimes they play but mostly they do nothing.

    There are two errors showing in chromes console – the first relating to missing gif files (these must have been renamed at some point) and then some jquery errors

    GET ..wp-content/plugins/mp3-jplayer/css/images/pos-handleH.gif 404 (Not Found)pos-handleH.gif
    GET ..wp-content/plugins/mp3-jplayer/css/images/pos-handle.gif 404 (Not Found)pos-handle.gif
    
    Uncaught ReferenceError: silence_mp3 is not defined
    <em>mp3j-functions.js:299</em>
    run_sound_complete
    <em>mp3j-functions.js:299</em>
    (anonymous function)
    <em>mp3-jplayer.js:28</em>
    c.jPlayer.jPlayerOnSoundComplete
    <em>jquery.jplayer.min.js:43</em>
    c.jPlayer._init.element.css.position
    <em>jquery.jplayer.min.js:34</em>
Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Plugin: MP3-jPlayer] plugin broken in 3.1 and safari’ is closed to new replies.