Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter easynow

    (@easynow)

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    effectively the javascript that initialize the player that usually is written at the bottom of the page is not written on your site.
    Both CSS and javascript file are loaded but the initialize script is omitted.

    That could depend by the theme you are using; the script is injected in the “wp_footer” action (find it into the mbYTPlayer.php file at line 346. You can try changing the action from the footrer to the header:

    add_action(‘wp_heade’, ‘mbYTPlayer_player_head’,20);

    But better would be find out why the “wp_footer” action is not invoked if not logged in.

    Bye,
    Matteo

    Thread Starter easynow

    (@easynow)

    I checked my template, and the footer action should be invoked.

    Troubleshooting, I disabled ‘Hyper Cache’ (which I had just updated) plugin and now it works?

    I am not sure wether it is to do with the Hyper Cache function itself or a clash between it and wordpress. nevermind.

    thanks for your help!

    Thread Starter easynow

    (@easynow)

    closed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘only works when logged in?’ is closed to new replies.