Header Ads

jQuery Plugin for Displaying YouTube Video Feed



P
reviously i shared jQuery youtube channel playlist widget for blogger, and today i'm 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 !!
Drop your comments and questions below... :)

No comments

Powered by Blogger.