Embed Latest Video from Channel

My Previous post about doing this was using a previous api and using callback to get the info.

Thanks to Shix_ for pointing it out there is a easier way to do this.

Simply drop this html into the place where you want the video and change the username with your username and its done.

<iframe width="300" height="200" src="http://www.youtube.com/embed?max-results=1&controls=0&showinfo=0&rel=0&listType=user_uploads&list=YOUR_USERNAME_HERE" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

Published by Janes Oosthuizen

Programmer and Tech Junky from Bloemfontein, South-Africa. I have been programming for 8 years in various languages including ( CSS, HTML, jQuery, PHP, MySQL, Wordpress and many other ).

Leave a comment

Your email address will not be published. Required fields are marked *