Audio player Template 1 no longer displays after WordPress 4.5 update.
-
Hi,
We noticed that after our site at https://ZudaYoga.com updated to WordPress 4.5 that our audio player interface using Template 1 no longer displayed. Interestingly enough, we had just made a few clones of our site to roll out for different locations of the yoga studio, and an exact copy running WordPress 4.4.2 displays Template 1 just fine. On the WP4.5 site, I found that if I stripped off the template1 part of the shortcode and just used sc_embed_player, we can still get a functional player (although not with the template we want).
Before changing the shortcode, I compared the output of the identical shortcodes on both sites and found this:
On the WordPress 4.5 site (https://zudayoga.com/yoga-podcasts), this shortcode:
[sc_embed_player_template1 fileurl="https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a"]
generates this:
<!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]--><br /> <audio class="wp-audio-shortcode" id="audio-2312-1" preload="none" style="width: 100%; visibility: hidden;" controls="controls"><source type="audio/mpeg" src="https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a?_=1"><a href="https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a">https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a</a></audio>
On the WordPress 4.4.2 site (https://www.zudayogafolsom.com/yoga-podcasts/), that same exact shortcode generates this:
<br /> <!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]--></p> <p><span class="mejs-offscreen">Audio Player</span><br /> <div style="width: 100%; height: 30px;" id="mep_0" class="mejs-container svg wp-audio-shortcode mejs-audio" tabindex="0" role="application" aria-label="Audio Player"><br /> <div class="mejs-inner"><br /> <div class="mejs-mediaelement"><br /> <audio src="https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a?_=1" class="wp-audio-shortcode" id="audio-2312-1" preload="none" style="width: 100%; visibility: hidden;"><br /> <source type="audio/mpeg" src="https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a?_=1"><br /> <a href="https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a">https://zudayoga.com/wp-content/uploads/2015/01/AMK-November-24-2014.m4a</a></audio><br /> </div><br /> <div class="mejs-layers"><br /> <div style="display: none; width: 100%; height: 30px;" class="mejs-poster mejs-layer"></div><br /> </div><br /> <div class="mejs-controls"><br /> <div class="mejs-button mejs-playpause-button mejs-play"><br /> <button type="button" aria-controls="mep_0" title="Play" aria-label="Play"></button><br /> </div><br /> <div class="mejs-time mejs-currenttime-container" role="timer" aria-live="off"><span class="mejs-currenttime">00:00</span></div><br /> <div class="mejs-time-rail"><span class="mejs-time-total mejs-time-slider"><span style="display: none;" class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span style="display: none;" class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div><br /> <div class="mejs-time mejs-duration-container"><span class="mejs-duration">00:00</span></div><br /> <div class="mejs-button mejs-volume-button mejs-mute"><br /> <button type="button" aria-controls="mep_0" title="Mute" aria-label="Mute"></button><br /> </div><br /> <a href="void(0);"><span class="mejs-offscreen">Use Up/Down Arrow keys to increase or decrease volume.</span><br /> <div class="mejs-horizontal-volume-total"></div><br /> <div style="width: 40px;" class="mejs-horizontal-volume-current"></div><br /> <div style="left: 27px;" class="mejs-horizontal-volume-handle"></div><br /> </a></div><br /> <div class="mejs-clear"></div><br /> </div><br /> </div><br />
Thanks in advance for any insight on how we might get Template 1 functioning again in the 4.5 environment.
- The topic ‘Audio player Template 1 no longer displays after WordPress 4.5 update.’ is closed to new replies.