WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Ultimate
JW Player conflict (3 posts)

  1. CharlyLeetham
    Member
    Posted 1 year ago #

    Using JW Player Version 2.0.5 and Ultimate Shortcodes 3.9.5, the jw player does not display / load.

    This appears to be a conflict between the js that is registered as part of Ultimate Shortcodes and the latest version of the JW Player.

    This occurs even when the "disable JW Player" box is checked in the Ultimate Shortcodes setting is checked.

    To resolve this issue, I have modified Shortcodes-Ultimate.php and changed line 71 to the following:

    if ( !isset( $disabled_scripts['jwplayer'] ) ) {
         wp_register_script( 'jwplayer', su_plugin_url() . '/js/jwplayer.js', false, su_get_version(), false );
    }

    This stops the wrong script being loaded when the JW Player plugin is used.

    http://wordpress.org/extend/plugins/shortcodes-ultimate/

  2. Netz
    Member
    Posted 1 year ago #

    Hi CharlyLeetham,

    I have same issue!! This plugin is SO NICE:.. But conflict is MANY!!
    Now I am FIGHTING with JWPlayer.

    My line 71 says:

    // Enable auto-formatting
    
    		if ( get_option( 'su_disable_custom_formatting' ) != 'on' ) {

    Is this correct? Could you please show excatly what you replace / add and take out :)

    I appreciate your time and effort - I can't code php (yet)...
    Thx

    Netz

    P.S. Another thing... HOW to add a poster?? and starting picture to the movie... Mine is ONE BLACK HOLE :)

  3. Netz
    Member
    Posted 1 year ago #

    Hi agaiN!

    Found something about JWplayer in my line 141 (might have dobble lines :)) Anyway...
    So what is your settings? What is enable and disabled?

    Even when JWPLAYER is set to DIS-ABLE it loads in header? (When viewing source code ??

    I want to be able to use the "REAL" JWPlayer WP Plugin (with my own key = Free)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic