Embedding BBC audio
-
I am trying to embed the following code into a wordpress.com blog post:
<object width=”466″ height=”138″><param name=”movie” value=”http://www.bbc.co.uk/emp/external/player.swf”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowScriptAccess” value=”always”></param><param name=”FlashVars” value=”playlist=http%3A%2F%2Fwww%2Ebbc%2Eco%2Euk%2F6music%2Femp%2Fxml%2Fnews%2Faudio%2Fjohnlydon2%2Exml&config_settings_skin=silver&config_settings_displayMode=audio&config_settings_showFooter=true&”></param><embed src=”http://www.bbc.co.uk/emp/external/player.swf” type=”application/x-shockwave-flash” allowfullscreen=”true” allowScriptAccess=”always” width=”466″ height=”138″ FlashVars=”playlist=http%3A%2F%2Fwww%2Ebbc%2Eco%2Euk%2F6music%2Femp%2Fxml%2Fnews%2Faudio%2Fjohnlydon2%2Exml&config_settings_skin=silver&config_settings_displayMode=audio&config_settings_showFooter=true&”></embed></object>
I have tried pasting the code directly in the post, and using the add media from URL option. Neither is working. Can anyone help?
Cheers.
The blog I need help with is: (visible only to logged in users)
-
Sorry but that embed code will not run on a WordPress.com blog. We remove JavaScript, Flash, and iFrames for security reasons.
We have full details on this at:
-
If you view the XML file the code points to you can easily embed just the MP3 file using the audio shortcode.
The link is http://downloads.bbc.co.uk/6music/emp/news/audio/johnlydon2.mp3
lh
-
-
One other question, hallluke:
Where did you find the URL for the link? It isn’t in the code.
-
It is in the code you just have to replace some of the character codings, for example %2f is a /slash/ %3a is a :colon: and %2e is a .period. The URL is in the code twice, following the word “playlist” each time.
lh
-
You might also see if the you can embed it through vodpod button for wordpress.
http://en.support.wordpress.com/videos/vodpod/
http://vodpod.com/wordpress/I don’t know whether it will work with BBC videos or not, but it might be worth a try. It works with virtually everything else.
-
-
Just to make it clear, the link will be for an xml file which points to the mp3. You can safely ignore everything after the &ersands& as they aren’t important. Here’s the link so you can see:
http://www.bbc.co.uk/6music/emp/xml/news/audio/johnlydon2.xml
lh
- The topic ‘Embedding BBC audio’ is closed to new replies.