Demo Example YCP.JS v05

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

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

<!-- 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>

Bachors

Sekolah Koding

Vevo Uk