MediaElement.js player has inline visibility:hidden style
-
I’d love to switch my powerpress player over to MediaElement.js, but whenever I enable it and try to use it on my site it appears hidden on all major browsers. Literally hidden by an inline style. Here’s the code that WP generates for the player:
<audio class="wp-audio-shortcode" id="audio-16754-1" preload="none" style="width: 100%; visibility: hidden;" controls="controls"><source type="audio/mpeg" src="[my url]/rain-test2.mp3?_=1"><a href="[my url]/rain-test2.mp3">[my url]/rain-test2.mp3</a></audio>
So far I’ve tested it on my computer, phone, and tablet and the result is the same on all three. Anybody know what’s going on? Is this the result of an error, like a fallback not happening? Or is there maybe a setting in Powerpress that I might’ve accidentally disabled?
If I inspect the code and switch the offending style to visible then the player displays and plays perfectly.
- The topic ‘MediaElement.js player has inline visibility:hidden style’ is closed to new replies.