Beantin webbkommunikation

Beantin Beta Blog

Experiments, investigations, and tests of web things
August 10, 2010

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.

WordPress

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.

Google Reader

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>

Yahoo Mediaplayer

Or even Yahoo’s mediaplayer. This can be hacked/customised a fair bit.

Google Analytics – Content Marketing 101

<script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script> <a href="http://media.libsyn.com/media/jonbuscall/Google_Analytics__Content_Marketing_101.mp3">Google Analytics - Content Marketing 101</a>
Related Posts Plugin for WordPress, Blogger...

Tags

Filed under Research.

Tags: , , , ,

Theme Beantin created by James Royal-Lawson. Privacy Policy