AddThis conflicting with WordPress Audio Shortcode
-
Hi I recently updated to AddThis for WordPress 4.0.2 and it broke all my wp-audio-shortcodes. Here an example of how the HTML renders:
<audio class=”wp-audio-shortcode” id=”audio-1614-1″ preload=”none” style=”width: 100%; visibility: hidden;” controls=”controls”><source type=”audio/mpeg” src=”https://www.mechon-mamre.org/mp3/t31.mp3?_=1″ />https://www.mechon-mamre.org/mp3/t31.mp3</audio>
This piece of code remains unchanged whether or not I have the AddThis plugin activated. The only difference is that the mp3 player remains hidden when I turn AddThis on, and appears again when I turn AddThis off.
All the MediaElement JS files are loading in either case, they’re being loaded through wp_head() and wp_footer().
I am using WordPress 4.1. Thanks a lot.
-JP
- The topic ‘AddThis conflicting with WordPress Audio Shortcode’ is closed to new replies.