Embedding externally hosted audio
Jon Buscall of Jontus Media had a problem embedding his externally hosted podcasts on his WordPress blog. My curiosity took over as usual, so I did some digging.
I initially thought this was something that WordPress could do straight out of the box. But, I’d made the classic mistake of mixing up wordpress.com functionality with that of the self-hosted wordpress.org version.
If you have a wordpress.com site, then you just need to use the WordPress shortcode.
If you have a self-hosted WordPress site, then you’ll need to install (an)other plugin called Audio Player in order to get the shortcode functionality.This works out of the box using a WordPress.com shortcode, but not in the hosted version.
If you don’t fancy installing a plugin (perhaps you just have a few pages containing mp3s or podcasts, then using the Google Reader audio player might be a better option.
<embed src="http://www.google.com/reader/ui/3523697345-audio-player.swf" flashvars="audioUrl=http://media.libsyn.com/media/jonbuscall/Google_Analytics__Content_Marketing_101.mp3" width="400" height="27" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
Or even Yahoo’s mediaplayer. This can be hacked/customised a fair bit.