ftlabs / ftcolumnflow

A polyfill that fixes the inadequacies of CSS column layouts
MIT License
633 stars 51 forks source link

FTColumnFlow is not working if embedded media (audio tag, to be exact) are used #46

Open r007 opened 9 years ago

r007 commented 9 years ago

This code is breaking my layout:

<p>Audio:</p>

<audio class="wp-audio-shortcode" id="audio-587-1" preload="none" style="width: 100%; visibility: hidden;" controls="controls"><source type="audio/mpeg" src="http://127.0.0.1/wordpress/wp-content/uploads/2012/07/originaldixielandjazzbandwithalbernard-stlouisblues.mp3?_=1"><a href="http://127.0.0.1/wordpress/wp-content/uploads/2012/07/originaldixielandjazzbandwithalbernard-stlouisblues.mp3">http://127.0.0.1/wordpress/wp-content/uploads/2012/07/originaldixielandjazzbandwithalbernard-stlouisblues.mp3</a></audio>

Output in web console window:

TypeError: element.getAttribute is not a function
FTColumnflow.js:879:31