code to play music samples
-
I want to add code to play music samples. I have code from CD baby that I am trying to add so that readers can play samples for a CD. I have tried adding a widget in appearance, and adding the code in a text widget. . Also I want to add this code to my stress relief page. I also tried adding the URL through the media library. It doesn’t work. The URL is http://widget.cdbaby.com/54dcf3e9-6331-4d26-8759-143adfebac15/square/dark/opaque
The embedding code is:
<div style=”max-width:600px;max-height:645px;min-width:180px;”><div style=”position: relative;height: 0;overflow: hidden;padding-bottom:100%;padding-top:30px;”><iframe name=”square” style=”position:absolute;top:0px;left:0px;width:100%;height:100%;border:0px;” src=”http://widget.cdbaby.com/54dcf3e9-6331-4d26-8759-143adfebac15/square/dark/opaque”></iframe></div></div>
I am not a dedicated music site, but this CD fits with my theme; I just want to promote this CD by making these fine samples available.
Thank you for your help.The blog I need help with is: (visible only to logged in users)
-
You cannot run audio on your blog unless you purchase a space upgrade http://en.support.wordpress.com/audio/
-
No, the upgrade is for people who want to upload audio and let users play it.
With CDBaby, the audio is transmitted from CDBabys site. So, you don’t need an upgrade since wordpress is not transmitting the audio.But, it seems that wordpress is not supporting iframes which is needed for the CDBaby widget. It would be great if wordpress supported the cdbaby iframe just like it does with youtube, spotify etc.
-
Thank you for that clarification, thorstenj; I would hate to have purchased the upgrade and have it not work. I agree. I post with YouTube frequently. It would be nice if I could do the cdbaby thing, too.
- The topic ‘code to play music samples’ is closed to new replies.