WordPress.org

Support

Support » Plugins and Hacks » [Plugin: podPress] preventing javascript when inline player is disabled

[Plugin: podPress] preventing javascript when inline player is disabled

  • I am using podpress to provide my video/audio out to itunes. I use a different player for both mp3 and videos on the site itself.

    I notice that although I disabled the content player – podpress is still throwing all of its javascript into my html code 🙁

    I have disabled this by adding the following on line 727 in the podpress.php code (within the podpress_print_js_vars() function)

    if ($podPress->settings['contentPlayer'] == 'disabled') return;

    This works, but I am not sure if it impacts anything else (i doubt it)

    http://wordpress.org/extend/plugins/podpress/

Viewing 1 replies (of 1 total)
  • Plugin Author ntm
    Member

    @ntm

    Yes you can do that. podpress_print_js_vars() includes only things which are necessary for the players or player preview.

    I will probably add something like your code snippet in the next version.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: podPress] preventing javascript when inline player is disabled’ is closed to new replies.