Have a YouTube channel? Use jQuery to post the latest video to your site
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.
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!