🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

YPlaylist is a jQuery Youtube Playlist plugin used to embed Youtube videos into your webpage, with a playlist carousel.

Youtube

Documentation

YPlaylist

Youtube Playlist with jQuery

##Usage

  1. Paste right before your page's closing </body> tag
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <script type="text/javascript" src="js/lib.min.js"></script>
  1. From within a script tag or a JS file
YPlaylist.init({     playlist: 'PLQCmSnNFVYnTD5p2fR4EXmtlR6jQJMbPb', // The ID of your Youtube Playlist     apiKey: 'Your APY KEY here',                    // Your API KEY     container: $('#container'),                     // domNode to attach to     shuffle: false                                  // If true, Shuffle the playlist, default false });

Here's how to get your API KEY: https://developers.google.com/youtube/v3/getting-started.

Change the HTML as it deems necessary.


You May Also Like