Email This Post Email This Post Print This Post Print This Post
Home » Features and such, Technology

Have a YouTube channel? Use jQuery to post the latest video to your site

By: 21 April 2010 One Comment

I’ve been working on a project over the last couple of weeks and I’ve recently been required to automatically embed the latest video from a YouTube channel into a site. I thought I’d share some code for those out there with the same issue.

You’ll need to put the following in a script tag, preferably in the head of your page. Don’t forget to change [YOUTUBE_CHANNEL_NAME] to your YouTube channel.

<script type="text/javascript"><!--mce:0--></script>
About: David Hudson:
David Hudson is the owner of HudsonCS and is a ten year web design veteran. In his free time he enjoys leaping over tall buildings and traveling… at the speed of light!

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.