Skip to main content

There isnt really much documentation out there to do this but I use this method and it works well for me.

To get started include the latest jquery library inside your <head> tags

<script src="//"></script>

Next on the spot where you want to add in the video drop in the following code:

<div id="static_video"></div>
    <script type="text/javascript">
        function showLatestVid(response) {
            if( && {
                var items =;
                if(items.length>0) {
                    var item = items[0];
                    var videoid = "";
                    console.log("Latest ID: '"+videoid+"'");
                    var video = "<iframe width='300' height='225' src='"+videoid+"' frameborder='0' allowfullscreen></iframe>"; 
    <script type="text/javascript" src="*YOUR USERNAME*/uploads?max-results=1&orderby=published&v=2&alt=jsonc&callback=

Just change the *YOUR USERNAME* to your channel name.

That should do it.


This method doesnt work anymore 🙁 , but here is the updated method: Embed latest video from channel

Janes Oosthuizen

Author Janes Oosthuizen

Programmer and Tech Junky from Cape Town, South-Africa. I have been programming for more than 15 years in various languages including ( CSS, HTML, javascript, PHP, MySQL, Wordpress and many other ).

More posts by Janes Oosthuizen

Leave a Reply