• Resolved gal-sapir

    (@gal-sapir)


    Hello,

    Thank you very much for the player, it worked really well for over a year now.

    However, the site has just been upgraded to 3.8.1, and the player to 1.4.6 , and the player doesn’t display anymore.

    The site do not have any other media plugins. In fact the only plugins are Akismet, Wordfence and mb.miniAudioPlayer.

    The theme has never conflicted before, and I haven’t changed it since launching a year ago.

    the address is http://www.holymountain.co.uk/

    I should be grateful for any advice you may have,

    regards,
    Gal Sapir

    https://wordpress.org/plugins/wp-miniaudioplayer/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author pupunzi

    (@pupunzi)

    Looking at the console navigating your page you are getting an error:
    ReferenceError: delay is not defined in the navigation.js file.
    That is probably breaking the player behavior.

    It seams that the Theme is incompatible with WordPress 3.8.x, not the player plugin :-). The plugin has been tested by thousand of people without any problem on the 3.8.x version.

    Bye,
    M

    Thread Starter gal-sapir

    (@gal-sapir)

    Thank you for answering,

    The js code was left unchanged and it never affected the plugin before.

    I removed that bit of js that was giving the error messages. It made no difference to the plugin behaviour. Any idea what else could be done?

    I appreciate your help,
    regards,
    Gal

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    Looking at the code of your page it seams that the theme you are using doesn’t print out the footer where the player initialization functions are printed out.

    this is the code in the “miniAudioPlayer.php page that print all the necessary code for the player initialization:
    add_action('wp_footer', 'miniAudioPlayer_player_head',20);

    You can try changing that line to:
    add_action('wp_header', 'miniAudioPlayer_player_head',20);
    Anyway you should solve the problem on your theme as with the next update you would loose any changes and many other plugins printout the code on the footer.

    Bye,
    Matteo

    Thread Starter gal-sapir

    (@gal-sapir)

    Hi Matteo,

    Thank you for this suggestion,

    I am not sure with regards to the footer, as it is included. Even though it doesn’t have any visible content , the underlying structure is there.

    Also tried and changed the ‘add_action’ in the miniAudioPlayer.php from ‘wp_footer’ to ‘wp_header’ but it made no difference again.

    best,
    Gal

    Thread Starter gal-sapir

    (@gal-sapir)

    Also, I’m not sure if that helps or not, but while the editor is available in the tinyMCE bar, when details are filled and I click ‘insert the code’, nothing is being inserted.
    Gal

    Plugin Author pupunzi

    (@pupunzi)

    For the tinyMCE editor issue you should get an error in the javascript console.
    Try commenting:

    if (!headers_sent()) {
        header('Content-Type: text/html; charset='.$charset);
    }

    in the maplayertinymce.php file.

    For the player display: If you take a look at your page source you can see that all the scripts called for the player initialization don’t exist on the page.
    If you take a look at the source of my blog you can see the difference (http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-miniaudioplayer/).

    Those scripts are printed out within the “wp_footer” action. If those scripts are not printed out that means your theme doesn’t call the “wp_footer” action at all.

    Sorry but I can’t help you on that.
    Bye,
    matteo

    Thread Starter gal-sapir

    (@gal-sapir)

    hi Matteo,
    Thank you for your suggestion.

    I added the ‘wp_footer’ and it works very well now.

    Thank you again for your patience, and for a plugin that is very well constructed as a user interface.

    much appreciated.
    best,
    Gal

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘player does not display on 3.8.1’ is closed to new replies.