Pemblokir Iklan Terdeteksi

Matikan adBlock anda untuk dapat mengakses situs ini.

translate to english

kotak subscribe youtube channel realtime

widget kotak subscribe youtube channel

Hallo semua pada kesempatan kali ini saya akan membagikan widget kotak subscribe youtube channel realtime dengan html dan css dan javascript di blog

pada postingan saya dulu juga sudah pernah membagikan cara membuat pop up subscribe youtube channel di blog kalian bisa baca di postingan saya sebelumnya jika ingin membuat yang model pop up.

widget kotak subscribe youtube kali ini saya design mirip dengan aslinya yang biasanya dapat kita temukan ketika memasukan nama channel di youtube, dan saya juga menambahkan border dan radius yang tidak melingkar sempurna pada gambar profil agar terkesan lebih moderen.

widget ini cocok sekali bagi yang ingin mempromosikan channel youtube kalian di blog, dan bisa kalian letakkan di bawah postingan atau bagian sidebar atau di manapun itu sesuai selera kalian saja.

untuk demonya kalian bisa melihat melalui tombol di bawah ini, ok buat kalian yang ingin membuatnya mari simak caranya di bawah ini.

Widget Kotak Subscribe Youtube Channel Realtime

script ini telah di update jumlah subscriber dan jumlah vidio kini otomatis atau realtime tidak manual lagi.

silakan masuk ke blogger > tema > edit html salin css di bawah ini dan letakkan di atas kode ]]></b:skin>

/* widget kotak subscribe youtube by wendy code */
.wc-ytbox-wrap{position:relative;max-width:400px;background-color:#fefefe;color:#444;box-shadow:0 5px 12px -2px rgb(0 0 0 / 12%);border:1px solid #eceff1;border-radius:5px;padding:15px;margin:20px 0;font-size:13px;line-height:1.7em}  
.wc-ytbox-wrap img{width:70px;border:1px solid #eceff1;border-radius:0 50% 50%;padding:5px}
.wc-ytsub-nma{position:absolute;font-size:14px;font-weight:600;margin:-80px 0 0 100px}
.wc-ytsub-jmsv{margin:-55px 0 0 100px;color:#908989;font-size:12px}
.wc-ytsub-sub{margin-left:100px;color:#e17070;font-size:12px;font-weight:600;text-decoration:none}
.wc-ytsub-ttk{position:absolute;right:10px;top:5px;transform: rotate(90deg);color:#444} 
.wc-ytsub-hdn{position:absolute;background-color:#fefefe;top:5px;visibility:hidden;opacity:0;transition:all .2s ease}
.wc-ytsub-cls{position:absolute;top:0;right:-10px;width:40px;height:40px;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z' fill='%23878787'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:25px}
#wc-ytsub-check:checked ~ .wc-ytsub-hdn{visibility:visible;opacity:1}
#wc-ytsub-check{display:none}

/* CSS darkmode sesuaikan classnya jika berbeda atau hapus bagian ini */
.darkMode .wc-ytbox-wrap,.darkMode .wc-ytsub-hdn{background-color:#2d2d30;color:#fefefe}
.darkMode .wc-ytbox-wrap,.darkMode .wc-ytbox-wrap img{border-color:rgba(255,255,255,.1)}

selanjutkan letakkan html ini di mana kalian ingin menampilkan widget kotak subscribe youtubenya, jika ingin meletakkannya di bawah postingan maka bisa meletakkannya di bawah kode <data:post.body/> biasanya kode ini ada lebih dari 1, tergantung template yang kalian gunakan cari saja yang berada dalam post-entry atau postEntry jika tidak tau coba saja 1 1.

<div class='wc-ytbox-wrap'>
<img src='https://1.bp.blogspot.com/-CQ59PTNOqDk/YQo_eSbow1I/AAAAAAAAC6I/dLoXG2UqOT8K7FERfXQvK3g2ICLqW83QACNcBGAsYHQ/s320/wendycode-logo.png' alt='wendy code'/>
<div class='wc-ytsub-nma'>Wendy Code</div>
<div class='wc-ytsub-jmsv'><span id='wc-jmlsub'></span> subcriber • <span id='wc-jmlvd'></span> vidio</div>  
<a class='wc-ytsub-sub' href='javascript:;'>SUBSCRIBE</a>
<label class='wc-ytsub-ttk' for='wc-ytsub-check'>•••</label>
<input id='wc-ytsub-check' type='checkbox'/>
<div class='wc-ytsub-hdn'>
<label class='wc-ytsub-cls' for='wc-ytsub-check'></label>
<p>subscribe youtube channel saya juga ya teman teman terima kasih</p>
</div>
</div>

bagian yang saya tandai seperti url gambar dan nama channel silakan di sesuaikan

dan terakhir lanjut meletakkan kode di bawah ini di atas kode </body> atau seperti &lt;!--</body>--&gt;&lt;/body&gt;

<b:if cond='!data:view.isPreview'>
<!--[skrip tidak berfungsi jika Anda menghapus kredit pembuat || the script doesn't work if you remove the creator credit]-->
<div class='made-by-wc' style='display:none;'>https://blog.choipanwendy.com</div>
<script>/*<![CDATA[*/
/* kotak subscribe youtube channel realtime javascript murni by wendy code */
var youtubeUser = 'UCKlfXy_XQHZmWSnUUvKJSzQ'; //Id Youtube Channel
var youtubeKey = 'AIzaSyAIAybeuTP-3kgyc4I0Y3S6NNF1ZTud0Y0'; //API Data YouTube Key
eval(function(x,a,c,e,b,r){if(b=function(x){return(x<62?"":b(parseInt(x/62)))+((x%=62)>35?String.fromCharCode(x+29):x.toString(36))},!"".replace(/^/,String)){for(;c--;)r[b(c)]=e[c]||b(c);e=[function(x){return r[x]}],b=function(){return"\\w+"},c=1}for(;c--;)e[c]&&(x=x.replace(new RegExp("\\b"+b(c)+"\\b","g"),e[c]));return x}("2 o(d,e){0 f=E();6 o=2(a,b){a=a-1p;0 c=f[a];6 c},o(d,e)}0 1=o;(2(a,b){0 c=o,F=a();2a(!![]){1q{0 d=7(c(2b))/P*(-7(c(2c))/p)+7(c(2d))/G*(7(c(2e))/v)+7(c(2f))/1r+-7(c(2g))/l*(-7(c(2h))/1s)+-7(c(2i))/1t*(7(c(2j))/1u)+-7(c(2k))/1v*(-7(c(2l))/13)+7(c(2m))/Q;H(d===b)2n;14 F['1w'](F['1x']())}1y(2o){F['1w'](F['1x']())}}}(E,2p));0 4=[1(2q),1(2r),1(2s),1(1p),1(2t),1(2u),1(2v),1(2w),1(2x),1(2y),1(2z),1(2A),1(2B),'2C==','2D=',1(2E),1(2F)],3={'R':2G(4[P]),'2H':2(a){0 b=1,15,S,T,16,17,U,I,V='',J=j;K(a=3['1z'](a);J<a[b(L)];)16=(15=a['18'](J++))>>p,17=(G&15)<<v|(S=a[b(w)](J++))>>v,U=(W&S)<<p|(T=a[b(w)](J++))>>l,I=s&T,1A(S)?U=I=X:1A(T)&&(I=X),V=V+k[b(x)][b(y)](16)+k[b(x)][b(y)](17)+k[b(x)][b(y)](U)+k['R']['19'](I);6 V},'5':2(f){0 g=1,1B=2(){0 e=!![];6 2(b,c){0 d=e?2(){H(c){0 a=c['1C'](b,1D);6 c=1E,a}}:2(){};6 e=![],d}}(),Y=1B(k,2(){0 a=o;6 Y[a(1a)]()[a(1F)](a(1G))[a(1a)]()[a(2I)](Y)[a(1F)](a(1G))});Y();0 h=2(){0 e=!![];6 2(b,c){0 d=e?2(){H(c){0 a=c['1C'](b,1D);6 c=1E,a}}:2(){};6 e=![],d}}(),1H=h(k,2(){0 a=o,M;1q{0 b=2J(a(2K)+a(2L)+');');M=b()}1y(2M){M=1I}0 c=M[a(2N)]=M['1b']||{},1c=[a(1J),a(2O),a(2P),a(2Q),'2R',a(2S),a(2T)];K(0 d=j;d<1c[a(L)];d++){0 e=h['1d'][a(2U)][a(1K)](h),1e=1c[d],1f=c[1e]||e;e['2V']=h[a(1K)](h),e['1L']=1f[a(1a)]['1M'](1f),c[1e]=e}});1H();0 i,1g,1h,1i,Z,1j,z='',B=j;K(f=f[g(2W)](/[^A-2X-2Y-9\\+\\/\\=]/g,'');B<f['1N'];)i=k[g(x)]['1O'](f[g(y)](B++))<<p|(1i=k[g(x)][g(1k)](f[g(y)](B++)))>>v,1g=(W&1i)<<v|(Z=k[g(x)][g(1k)](f['19'](B++)))>>p,1h=(G&Z)<<l|(1j=k['R'][g(1k)](f[g(y)](B++))),z+=8[g(t)](i),X!=Z&&(z+=8[g(t)](1g)),X!=1j&&(z+=8[g(t)](1h));6 z=3[g(2Z)](z)},'1z':2(a){0 b=1;a=a['1P'](/\\r\\n/g,'\\30');K(0 c='',10=j;10<a[b(L)];10++){0 d=a['18'](10);d<N?c+=8[b(t)](d):d>31&&d<32?(c+=8[b(t)](d>>l|33),c+=8['C'](s&d|N)):(c+=8[b(t)](d>>Q|1Q),c+=8[b(t)](d>>l&s|N),c+=8['C'](s&d|N))}6 c},'1R':2(a){0 b=1;K(0 c='',m=j,u=34=O=j;m<a[b(L)];)(u=a[b(w)](m))<N?(c+=8['C'](u),m++):u>35&&u<1Q?(O=a[b(w)](m+P),c+=8['C']((36&u)<<l|s&O),m+=p):(O=a[b(w)](m+P),1S=a[b(w)](m+p),c+=8['C']((W&u)<<Q|(s&O)<<l|s&1S),m+=G);6 c}},1T=3['5'](4[v])+3['5'](4[1r]),1U=3['5'](4[j])+3['5'](4[p])+3['5'](4[G]),1V=D[1(1W)](3['5'](4[l]));2 1l(){0 a=1,1m=D[a(37)](3['5'](4[1s]))[j];1m[a(11)]+=1T,1m[a(38)](3['5'](4[1t]),3['5'](4[1u]))}2 E(){0 a=['39=','3a','C','3b','3c=','3d','3e','R','3f','1O','3g','1X','3h','1b','3i=','3j','(((.+)+)+)+$','3k','3l','3m==','3n','3o','1L','3p','3q','3r','18','1Y','3s','1N','3t','3u','3v','3w','19','3x','3y','3z','3A','3B','3C=','3D==','1R','3E','3F','3G','3H','{}.1d(\\3I\\3J\\3K)(\\1n)','3L','1M','3M==','3N','3O+','3P==','3Q+3R/3S==','3T','3U','3V=','3W','3X','6\\1n(2()\\1n','1P','3Y','1d'];E=2(){6 a};6 E()}H(D[1(3Z)](3['5'](4[l]))[1(L)]===j)1l();14{H(1V[1(11)]!=1U)1l();14{D[1(1W)](3['5'](4[40]))[1(41)](1(42),1Z);2 1Z(){0 a=1,20=3['5'](4[43]),21=3['5'](4[W]);1I[a(44)](20+22+21,3['5'](4[45]))}0 23=D[1(24)](3['5'](4[1v])),25=D[1(24)](3['5'](4[Q]));46 26=()=>{0 1o=1;47('48://49.4a.4b/4c/4d/4e?4f=1X&4g='+22+'&4h='+4i)['1Y'](27=>{0 28=o;6 27[28(4j)]()})[1o(4k)](12=>{0 q=1o;1b[q(1J)](12),23[q(11)]=12[3['5'](4[13])][j][q(29)][q(4l)],25[q(11)]=12[3['5'](4[13])][j][q(29)][q(4m)]})};26()}}",0,271,"var|_0x2975d5|function|Wc|ytbxrlar|de|return|parseInt|String|||||||||||0x0|this|0x6|_0x1fb36a||_0x19da|0x2|_0x1bd1d0||0x3f|0x161|_0x21c8f0|0x4|0x179|0x166|0x181|_0x204880||_0x2e2b1d|fromCharCode|document|_0x48ea|_0x1422ef|0x3|if|_0x35659e|_0x4b3ff7|for|0x17c|_0x1a065d|0x80|c2|0x1|0xc|_keyStr|_0x40dccd|_0x563590|_0x30c74a|_0x1e3ccd|0xf|0x40|_0x4d4f9f|_0xeab54a|_0x9454cf|0x178|_0x27b3bf|0xb|else|_0x702787|_0x29d935|_0x24b41c|charCodeAt|charAt|0x175|console|_0x841d0a|constructor|_0x6a19d6|_0x3a402d|_0x10a537|_0x481c49|_0xe8a836|_0x4b413e|0x168|tmpkcuk|_0x5a5c87|x20|_0x1c41dc|0x148|try|0x5|0x7|0x8|0x9|0xa|push|shift|catch|_utf8_en|isNaN|_0x44f29a|apply|arguments|null|0x170|0x16f|_0xb5041b|window|0x165|0x150|toString|bind|length|indexOf|replace|0xe0|_utf8_de|c3|tmplkndng|orcrdt|inrmdby|0x186|statistics|then|sbcyt|_0x571008|_0x16b491|youtubeUser|subCount|0x14b|vdCount|getSubscribers|_0x1e93a2|_0xfa60a9|0x16a|while|0x160|0x14a|0x152|0x17e|0x15d|0x16e|0x159|0x169|0x183|0x167|0x184|0x157|break|_0x5eb07a|0x6df2f|0x15f|0x164|0x187|0x153|0x155|0x158|0x172|0x154|0x162|0x156|0x163|0x16d|SqizSBb3y8CkSBF5Nf|wIK3yID9Sv48i8ygpV45iICkML1zr63jN6hhrm1brE7|0x151|0x17d|atob|en|0x15e|Function|0x15b|0x14e|_0x48fed8|0x16c|0x177|0x182|0x14c|exception|0x171|0x176|0x173|__proto__|0x15c|Za|z0|0x149|x0a|0x7f|0x800|0xc0|c1|0xbf|0x1f|0x16b|0x185|wIK3yID9Sv7|9ymbsaB|ymC3iBPgOUMhrIFb|wBKbrBD|UVdFUlRZVUlPUEFTREZHSEpLTFpYQ1ZCTk13cnlpcHNmaGt6Y2JtcWV0dW9hZGdqbHh2bjM1NjgwMTkyNzQrLz0|log|10xdyCeb|61192gDaTyh|getElementsByTagName|i6Ddwm5aimJ|126eNlEcq|search|table|Jc4TVJ|prototype|open|trace|warn|innerHTML|addEventListener|B6PaNV1o|2297596UqXOBV|click|subscriberCount|info|774oaqOlK|3857755ziBJJM|setAttribute|querySelector|NmxjMv0|N6hjwBWhrqibrmK1SmFjrJ|186302eSLhsf|getElementById|error|json|x22return|x20this|x22|querySelectorAll|H8F5Nb4zr61mwBPdNBKtr604DJ|3zAWMlw|HIF3pVxbHmY2N64ar8O9O6N0GZQlDI3gi6DdN8PciE5orqK2pk5trmKbpRe1GZc1GZc1GZc1GZc1GZc1GZc1GZc1GZc1GZc1OVbdyU4viUYgiRdcwBFlrUY1GmPar6FoOVbdyU4viUYgiRdjyUYzwBK1GzThwV5lr8P3NV13G8Mty6bkwVxtiIc9imbnwVPaMLYtrBWjyqKhrqJ2i6bciUf9DZQlPZddNBfdi6bciUf9FZQlyIf2yU4nwBKtr609Mmb0MVJ2NmYzw6ivr8CgMRezMmCmMVMbG6PjymKbyk5vNVKtiBD9DZWlpRdkr8PcMBO9DBW0OIFjrUbcOEFbMVX2N64ar8O9OnO6DmJnMRd3MBh3SVYawVigGmFbrqKbyzdlNVKcwV1qGzD5yIf2iU4lGzT5DIW0G6xbMqJ9DRdvwVieiRelG65hymitrzelOUY5iU72Nm40SBFeNVKjinelORTlyIffDzWlpEWvM6PhARQaDEllSRQgDkc2sZljy8K1rUX|r61zr613MBh3rVCgiJ|HUKtikWzrUYnyn3qi6DdN8PciE5orqJqHzxnimyfy8K1rUX4P6MtrUl9O6XlDRQlDRd8wVK3wRe5DIW0G6hbwVieiRe5DIW0PvW6wVC8Jm40HLylORQfDzJfDzJqHzxlNBKeOUJ4P33xDklxF3TvSROfDEQlSRQfDZJaDZCRDZJaDZDgGRcfDZDgDLlxDvQxDklxD3TvSROfDEQlSRQfDZQaDZCWDklvORQfDEllORTvSRT8ZZT0SRhWDklvORQfDElxOROlSRTlCzOlJZOaDkQlORQaDLQxGElvDcf6JZOaDkQlORQaDLQ3SROlCzTlJnJaGE00GLQ3SzcaGEQ6SRhOF5N6JZXaFLQlORQaDLQxDklxJZXaFLQlORQaDLQxFvl6CzhODZhFDZOaD3TnSRDfDEQlSRQfGLl6CzhODZCVFcTnSRDfDEQlSRQfDZOaD5eqSn07S8F6Mn07wRD|JVdnMBDfKUbkrU4owBO7S6fnHzxlHqFzymbliEW3wVKhwvWhw6YgOUPbymM5rminwLWuwVdhOUYgMUTfrVCgM6hhyICnOUFvMVKtiEWlMV5kiVY3HE4lHzxhOUhvMVN4P6h3iIWnGk7jNmxjMv1zwU4tyUYgi6CgMIcgN64dS8QjN8PbMUb3Smh3rVlqHcP5iICeOUPhrqK5NV0|HE4hHzljMUb6Hf|i6Ddwm5ay8Ck|2988864TMGfIl|MUb6Sm5hMUXdNqcdi6D|170009hsUBVU|videoCount|1311605qfpTBV|0x14f|0xd|0x17b|0x17f|0xe|0x174|0x10|let|fetch|https|www|googleapis|com|youtube|v3|channels|part|id|key|youtubeKey|0x14d|0x17a|0x180|0x15a".split("|"),0,{}));
/*]]>*/</script></b:if>

bagian yang saya tandai silakan ubah dengan id youtube channel kalian, dan youtube api key kalian, jika belum punya youtube api key kalian bisa membuatnya terlebih dulu.

Cara Mendapatkan Youtube API Key

  1. silakan kunjungi https://console.cloud.google.com/apis/dashboard
  2. pada halaman dashboard, klik Project Baru > isi nama project sesuai keinginan > Klik Buat
  3. pilih menu Library > ketikkan YouTube Data API v3 pada kolom pencarian
  4. pada YouTube Data API v3 klik manage > create credentials
  5. select api pilih YouTube Data API v3 dan centang public data dan next
  6. setelah itu akan muncul pop up silakan kalian salin kode key nya yang memiliki 39 digit

ok jadi sekian widget kotak subscribe youtube channel realtime yang bisa saya bagikan kali ini semoga bermanfaat dan terima kasih telah berkunjung.

Baca juga :

Mau donasi lewat mana?

Paypal
Bank Mandiri - An.wendy yulianto / Rek - 1150006900577
Traktir kreator minum kopi dengan cara memberi sedikit donasi. klik icon panah di atas