Tried to read the official guide about embedding video on my website, but I don’t find the part which teach how to embed the last video loaded on my youtube zone.
Is it possible (using JS API)?
EDIT Callback for check a video and do some things
<head>
<script type="text/javascript" src="http://gdata.youtube.com/feeds/users/MyNickname/uploads?alt=json-in-script&format=5&callback=showMyVideos"></script>
<script type="text/javascript">
function showMyVideos(data) {
alert("Hello");
}
</script>
</head>
this should show my alert, but nothing happens. Why=
You could use the following URL to get the list of uploaded video by particular user in JSON format.
Note : alt=json and to replace GoogleDevelopers with your user.
You could use jQuery.ajax() to get the data from the URL then just get the first feed (the latest one)