25
September
2007

YT-Audio: Audio Hosting From YouTube in WordPress

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (No Ratings Yet)
Loading ... Loading ...

I’m a huge fan of the Audio Player plugin for Wordpress that lets you embed a flash player for a single MP3 file in a blog post. The problem is that you have to host the MP3 file yourself, and if your hosting service isn’t very generous with either storage space or bandwidth, it’s not a very good solution.

Most of the time that I want to attach a song to a blog post, it’s usually some pop song that I’m either listening to or my mood has reminded me of. Let’s face it, YouTube is the new MTV. Name a pop song, and the music video is probably on YouTube. I could embed the whole YouTube video of a song on my blog, but what if I just want the audio? What do I do then?

Introducing…. YT-Audio, the plugin for Wordpress to embed the audio from a YouTube video on your blog!

ytaudio.tar.gz

ytaudio.zip

How does it work?

It’s actually ridiculously simple. All it does is embed YouTube’s regular flash movie player inside two iframes that chop off all but the bottom control bar of the video. Nothing fancy. Just useful.

Instructions

You install it just like any other Wordpress plugin. Unzip it into the /wp-content/plugins, directory. Then, in your post, put the text:

ytaudio(aMBgSfQI49E)
Where “aMBgSfQI49E” is the code for the video on YouTube. And you should get something like:

It’s just that simple! I’ve tested this on Firefox, Safari and IE 7. It looks pretty good in all three. Enjoy!

Change History

1.1 2007-12-04 Modified to handle YouTube’s new flash player.
1.0 2007-09-25 Original version

7 Comments

  1. 123 UNITED STATES:

    This is an awesome plugin. Thanks. Is it possible to add a feature to it that would enable me to isolate excerpts from the audio? a start/stop switch in the ytaudio code?

    That’d be even more awesome!

  2. Erik R. SPAIN:

    Sorry, 123, but, if that control of the YouTube flash player is even possible, I don’t know how to do it.

  3. Samy UNITED STATES:

    Do you know of any good hosting service that will host audio files. I am referring to just the audio recorded all by itself, not as part of the video on YouTube.

    Who can host the audio file that I can use for posting on several blog sites, without uploading the file on each blog site?

    Any help will be greatly appreciated.

  4. Geoff Video Dodd AUSTRALIA:

    Yes. Just the audio, without the video can be hosted at Apple iTunes as a podcast. Geoff.

  5. adi ROMANIA:

    awesome, thanks!

  6. youtube TURKEY:

    thanks.

  7. Daikil ITALY:

    A problem with de YT code with _ inside? Thanks

Want to change the avatar that shows up next to your comment? Sign up with gravatar.com and upload a new avatar. Make sure you use the same email address you leave comments with.

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

 
©Copyright 2007 - All rights reserved.