JSFiddle - React, Tailwind, and code Playground
by ernestohs
HTML
<ul id="videos">
</ul>
JavaScript
$.getJSON('http://gdata.youtube.com/feeds/api/videos?q=Breaking+Bad&start-index=21&max-results=10&v=2&alt=json', function(data) {
if (data && data.feed && data.feed.entry){
$.each(data.feed.entry, function(index, video){
$('#videos').append('<li><div><h1>'+video.title.$t+'</h1><br/><embed type="'+video.content.type+'" src="'+video.content.src+'"></embed><small>'+video.author[0].name.$t+'</small></div></li>');
});
}
});