I came across this nicely designed audio player on CodePen, put together by Michael Zhigulin It uses the waves.js click effect library...
I want to start this post by saying that I’m not a fan of using iframes, however, sometimes due to restrictions within some development environments it may be the only way to embed content into your site of blog.
// Set path to the iframe file var filePath = 'http://www.myspace.com'; // Setup the iframe target var iframe=''; // Write the iframe to the page document.write(iframe); var myIframe = parent.document.getElementById("frame"); // Setup the width and height myIframe.height = 350; myIframe.width = 960; myIframe.src = filePath; // set the style of the iframe myIframe.style.border = "1px solid #999"; myIframe.style.padding = "8px";
And that’s it, any questions or comments leave them below.
Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c02/h08/mnt/40992/domains/papermashup.com/html/wp-includes/class-wp-comment-query.php on line 399