Login

jQuery Youtube Channels Playlist


Menampilkan channel Youtube lengkap di website Anda.

This is the version 04

Update youtube API v3

# YouTube device support message
https://developers.google.com/youtube/v3/getting-started


Keunggulan:

  • Anda dapat menyesuaikan lebar dan tinggi widget pada website Anda.
  • Widget cukup responsif; diberikan lebar (atau%) untuk widget.
  • Video unggulan dapat dibuka di pemutar video pada widget.
  • Menampilkan channel youtube lengkap anda yang sebenarnya di situs web anda seperti yang ditunjukkan di youtube.
  • Multi channel playlist

Mendaftar dan mendapatkan API key Youtube Anda disini


Screenshot:


Pemakaian:

Required : apikey : 'xxxxxxxxxxxxxxxx'
Option : playlist : number of videos playlist count. Default = 10
Option : autoplay : true. Default = false
Option : related : true. Default = false

<!-- CSS -->
<link type="text/css" rel="stylesheet" href="css/ycp.css" />

<!-- HTML -->
<!-- Selector by Id -->
<div id="unix" data-ycp="UCoiS7s7HrE7bHNuzERi-FCQ"></div> <!-- By ChannelId -->

<!-- Selector by ClassName -->
<div class="demo" data-ycp="PLCZlgfAG0GXAiH1acKFPx8EtpJAq44gjP"></div> <!-- By PlayListId -->
<div class="demo" data-ycp="vevouk"></div> <!-- By UserName -->

<!-- jQuery -->
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/ycp.js"></script>
<script>
$(function() {

  $("#unix").ycp({
     apikey : 'xxxxxxxxxxxxxxxx',
     playlist : 6,
     autoplay : true,
     related : true
  });       
  $(".demo").ycp({ apikey : 'xxxxxxxxxxxxxxxx'   }); }); </script>

Demo Fork me on GitHub



Contributor:

issues