JW Player conflict
-
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.
https://www.ads-software.com/extend/plugins/shortcodes-ultimate/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘JW Player conflict’ is closed to new replies.