Banner 468x60

Banner 468x60

jQuery Plugin for Displaying YouTube Video Feed

jQuery Plugin for Displaying YouTube Video Feed

Youtube

Today I’m going to share another  jQuery plugin that creates a widget on your blog sidebar to display video feed for YouTube channel uploads or custom playlist .Just specify your YouTube channel URL and this widget will display the recent uploads from your channel. A subscription box for you is also shown to attract social people.

How to add this widget to blogger?

  • Go to blogger–>Layout—> Add a gadget
  • Choose HTML/javascript from the list
  • Copy and paste below code into it
  • Just replace red colored URL( my youtube channel URL) with yours.
 <script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
var youTubeURL = "http://www.youtube.com/user/nitin16919";
//optional---------------------------------------
var makingdifferentytWidgetHeight = 400;
var makingdifferentytWidgetWidth = 280;
function goClicked() {
$('#makingdifferentyt').empty().append(' loading ...');
youTubeURL=$('#youTubeUrl').val();loadmakingdifferentyt();
}
</script>
<div id="makingdifferentyt"></div>
<script src="http://makingdifferent.github.com/blogger-widgets/MD-Youtube-Plugin2.js"></script>
  • Finally save your widget and you have done !!