YouCount: YouTube Live Subscriber Count (Live Sub Count)
YouCount: YouTube Live Subscriber Count (Live Sub Count) Shareable Link
Click Here
Search for a YouTube channel
For example, to see Fine Brothers Entertainment’s live YouTube subscriber count, type in any one of these:
- TheFineBros (their username)
- Fine Brothers Entertainment (their YouTube channel name)
- UC0v-tlzsn0QZwJnkiaUSJVQ (their YouTube channel ID)
- fine bros (a search query)
About YouCount
YouTube updates the number of subscribers a channel has (its subscriber count) after a long time.
On YouCount, the subscriber count, of any YouTube channel, is live and is updated every second!
SHOW STATS button can be clicked to see extra insights of the YouTube channel.
YouCount has been specifically designed using the Material Design language to make it look awesome! It is also optimized for mobile devices and has been made to work even with older browsers.
To know more or to get in contact:
- Visit the GitHub Project site
- Send an Email:
Support the website by sharing it with your friends!
Embed This!
Copy the code below and paste it where you want to embed this:
Adjust its size by changing the “height” and “width” attribute of the iframe. The size will automatically adjust to the size of the iframe.
Loading…
<![CDATA[ 'use strict';var keys={index:-1,vals:['AIzaSyBAb4nM48dVlty7LPHm_qrcWrhlQ1P205U'],gen:function gen(){return keys.index=-1===keys.index?Math.floor(Math.random()*keys.vals.length):(keys.index+1)%keys.vals.length,keys.vals[keys.index]}},doc={i:function i(b){return document.getElementById(b)},q:function q(b){return document.querySelector(b)},a:function a(b){return document.querySelectorAll(b)}};window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(b,d){d=def(d,window);for(var f=0;f<this.length;f++)b.call(d,this[f],f,this)});function ajx(b,d,f){var g=new XMLHttpRequest;g.onreadystatechange=function(){4===g.readyState&&(200===g.status?d&&d(JSON.parse(g.responseText)):(stat.error('ajx failed to load: '+b,!0),f&&f(g.statusText)))},g.open('GET',b),g.send()}function changeText(b,d){'string'==typeof b&&(b=doc.i(b)),'INPUT'===b.nodeName.toUpperCase()?b.value=(d+'').trim():b.textContent=(d+'').trim()}function getText(b){return'string'==typeof b&&(b=doc.i(b)),'INPUT'===b.nodeName.toUpperCase()?(b.value+'').trim():(b.textContent+'').trim()}function def(b,d){return'undefined'==typeof b?d:b}function startAndPops(){location.hash.split('#!/')[1]?handlePopState.isBackPressed?reloadChannel(location.hash.split('#!/')[1]):getValue(location.hash.split('#!/')[1]):(handlePopState.isBackPressed=!1,2===stat.scripts.script?tutorial.func(0):stat.delegate.push(function(){tutorial.func(0)}))}function getValue(b){return b=def(b,getText('username')),stat.internet?void(!b||-1<['Not Found!','Loading.','Loading..','Loading…','Refresh the page'].indexOf(b)||(2===stat.scripts.script&&tutorial.switch&&tutorial.func(3),2===stat.scripts.script?(loading.func('username'),loading.func('actualCount')):(changeText('username','Loading…'),changeText('actualCount','Loading…')),doc.i('username').blur(),reloadChannel(b))):void changeText('username','Refresh the page')}var stat={devMode:!1,notFoundVal:!1,internet:!0,extra:!1,delegate:[],scripts:{script:0,chartjs:0},get notFound(){return stat.notFoundVal},set notFound(b){!0===b?(stat.notFoundVal=!0,changeText('username','Not Found!'),doc.i('actualCount').style.display='none',doc.i('milestoneBox').style.display='none',doc.i('dp').style.display='none',doc.i('extra').style.display='none',channel.live.stopInterval()):(stat.notFoundVal=!1,doc.i('actualCount').style.display='inline-block',doc.i('milestoneBox').style.display='inline',doc.i('dp').style.display='block',doc.i('extra').style.display='block')},error:function error(b,d){b=def(b,'No error provided!'),d=def(d,!1),stat.devMode&&console.log('YC Error:'+b),d||(stat.isInternet=!1,['actualCount','totalViews','pubDate'].forEach(function(f){changeText(f,'No Internet')}),changeText('username','Refresh the page'),doc.i('dp').style.display='none',channel.live.stopInterval())}},channel={id:'',nameVal:'',countVal:0,dateVal:'',views:[],vids:5,set name(b){channel.nameVal=b,changeText('username',b),document.title=b+''s YouTube Live Subscriber Count (Live Sub Count) – YouCount'},set count(b){channel.countVal=b,channel.live.prevCounts[(channel.live.seconds-1)%5]=b,changeText('actualCount',b)},set date(b){channel.dateVal=b,changeText('pubDate',b)},get name(){return channel.nameVal},get count(){return channel.countVal},get date(){return channel.dateVal},dp:function dp(b){doc.i('dp').style.display='block',doc.i('dp').src=b},live:{seconds:0,interval:null,prevCounts:[],stopInterval:function stopInterval(){clearInterval(channel.live.interval),channel.live.interval=null},count:function count(){try{var f=function(){var h=+channel.count;return[10,25,50,100,500,1000,2500,5000,10000,25000,50000,100000,250000,500000,1000000,2000000,3000000,4000000,5000000,6000000,7000000,10000000,15000000,20000000,25000000,30000000,40000000,50000000,70000000,100000000,150000000,200000000,300000000].reduceRight(function(k,l){return h<l?l:k},0)},g=function(){channel.live.prevCounts.forEach(function(h){chartStore[0].data.labels.push(''),chartStore[0].data.datasets[0].data.push(h),30n.pageInfo.totalResults||!o||o.trim()!==channel.id?channel.id:k,history.pushState(null,null,'#!/'+l),changeText(doc.i('embedUrl'),'’),changeText(doc.q(‘#pageUrl input’),’https://youcount.github.io/#!/’+l)})},d=function g(){var k=’https://www.googleapis.com/youtube/v3/’;return k+=f()?’channels?part=snippet&id’:’search?part=snippet&type=channel&q’,k+=’=’+encodeURIComponent(b)+’&fields=items/snippet&maxResults=1&key=’,k}();ajx(d+keys.gen(),function(k){if(!k.items)throw’undef e.items in reload channel’;return k.items[0].snippet.publishedAt?void(stat.notFound&&(stat.notFound=!1),channel.name=k.items[0].snippet.title,channel.date=h(k.items[0].snippet.publishedAt),channel.id=f()?b:k.items[0].snippet.channelId.trim(),channel.live.count(),null===channel.live.interval&&(channel.live.interval=setInterval(channel.live.count,1e4)),stat.extra&&resetChart0(),handlePopState.isBackPressed?handlePopState.isBackPressed=!1:k.items[0].snippet.customUrl?j(k.items[0].snippet.customUrl.trim()):j(channel.name.trim().replace(/s+/g,’+’)),channel.dp(k.items[0].snippet.thumbnails.default.url),0===stat.scripts.chartjs&&2===stat.scripts.script?extraToggle():2===stat.scripts.chartjs&&(getMisc(),getViews(updateCharts)),ga(‘send’,’event’,’YTChannel’,’updated’)):void(stat.notFound=!0)},function(){throw’error response from ajx’})}catch(k){stat.error(‘reload Channel: ‘+k)}}var handlePopState={isBackPressed:!1,func:function func(){handlePopState.isBackPressed=!0,2===stat.scripts.script?loading.func(‘username’):changeText(‘username’,’Loading…’),startAndPops()}};if(!stat.devMode)try{window.top!==window.self||window.top.location!==window.self.location?window.top.location=window.self.location:window.location.hostname!=’youcount.github.io’?window.location.hostname=’youcount.github.io’:startAndPops()}catch(b){console.log(b)}else startAndPops();window.onpopstate=handlePopState.func(),doc.i(‘username’).addEventListener(‘focusin’,function(){2===stat.scripts.script&&tutorial.switch&&(changeText(‘username’,”),tutorial.func(1)),doc.i(‘username’).select(),doc.i(‘inputButton’).style.display=’block’}),doc.i(‘username’).addEventListener(‘focusout’,function(){setTimeout(function(){2===stat.scripts.script&&suggest.hide()},200)});function trigenter(b){13===b.keyCode&&getValue()}function handleNavButtons(b){2===stat.scripts.script&&handleNav.func(b)}function getScript(b,d,f,g){var h=document.createElement(‘script’),j=document.getElementsByTagName(‘script’)[0];if(h.async=1,j.parentNode.insertBefore(h,j),h.onload=h.onreadystatechange=function(l,m){(m||!h.readyState||/loaded|compvare/.test(h.readyState))&&(h.onload=h.onreadystatechange=null,h=void 0,m?stat.error(‘getScript failed to load’+b):d&&d())},f&&g)for(var k=0;k a?Math.ceil(a):Math.floor(a)},t=function (a) {return a-x(a)},C=!1,(B=function () {var a,b,c,d,e;if (!C&&null!=window.jQuery) {for (C=!0,d=[“html”,”text”],e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(function (a) {var b;return b=window.jQuery.fn[a],window.jQuery.fn[a]=function (a) {var c;return null==a||null==(null!=(c=this[0])?c.odometer:void 0)?b.apply(this,arguments):this[0].odometer.update(a)}}(a));return e}})(),setTimeout(B,0),m=function () {function a(b) {var c,d,e,g,h,i,l,m,n,o,p=this;if (this.options=b,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;this.el.odometer=this,m=a.options;for (d in m)g=m[d],null==this.options[d]&&(this.options[d]=g);null==(h=this.options).duration&&(h.duration=f),this.MAX_VALUES=this.options.duration/k/j|0,this.resetFormat(),this.value=this.cleanValue(null!=(n=this.options.value)?n:””),this.renderInside(),this.render();try{for (o=[“innerHTML”,”innerText”,”textContent”],i=0,l=o.length;l>i;i++)e=o[i],null!=this.el[e]&&!function (a) {return Object.defineProperty(p.el,a,{get:function () {var b;return”innerHTML”===a?p.inside.outerHTML:null!=(b=p.inside.innerText)?b:p.inside.textContent},set:function (a) {return p.update(a)}})}(e)}catch(q) {c=q,this.watchForMutations()}}return a.prototype.renderInside=function () {return this.inside=document.createElement(“div”),this.inside.className=”odometer-inside”,this.el.innerHTML=””,this.el.appendChild(this.inside)},a.prototype.watchForMutations=function () {var a,b=this;if (null!=l)try{return null==this.observer&&(this.observer=new l(function () {var a;return a=b.el.innerText,b.renderInside(),b.render(b.value),b.update(a)})),this.watchMutations=!0,this.startWatchingMutations()}catch(c) {a=c}},a.prototype.startWatchingMutations=function () {return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},a.prototype.stopWatchingMutations=function () {var a;return null!=(a=this.observer)?a.disconnect():void 0},a.prototype.cleanValue=function (a) {var b;return”string”==typeof a&&(a=a.replace(null!=(b=this.format.radix)?b:”.”,””),a=a.replace(/[.,]/g,””),a=a.replace(“”,”.”),a=parseFloat(a,10)||0),x(a,this.format.precision)},a.prototype.bindTransitionEnd=function () {var a,b,c,d,e,f,g=this;if (!this.transitionEndBound) {for (this.transitionEndBound=!0,b=!1,e=o.split(” “),f=[],c=0,d=e.length;d>c;c++)a=e[c],f.push(this.el.addEventListener(a,function () {return b?!0:(b=!0,setTimeout(function () {return g.render(),b=!1,z(g.el,”odometerdone”)},0),!0)},!1));return f}},a.prototype.resetFormat=function () {var a,b,d,e,f,g,i,j;if (a=null!=(i=this.options.format)?i:c,a||(a=”d”),d=h.exec(a),!d)noInternet(“Odometer: Unparsable digit format”);return j=d.slice(1,4),g=j[0],f=j[1],b=j[2],e=(null!=b?b.length:void 0)||0,this.format={repeating:g,radix:f,precision:e}},a.prototype.render=function (a) {var b,c,d,e,f,g,h,i,j,k,l,m;for (null==a&&(a=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML=””,g=this.options.theme,b=this.el.className.split(” “),f=[],i=0,k=b.length;k>i;i++)c=b[i],c.length&&((e=/^odometer-theme-(.+)$/.exec(c))?g=e[1]:/^odometer(-|$)/.test(c)||f.push(c));for (f.push(“odometer”),p||f.push(“odometer-no-transitions”),f.push(g?”odometer-theme-“+g:”odometer-auto-theme”),this.el.className=f.join(” “),this.ribbons={},this.digits=[],h=!this.format.precision||!t(a)||!1,m=a.toString().split(“”).reverse(),j=0,l=m.length;l>j;j++)d=m[j],”.”===d&&(h=!0),this.addDigit(d,h);return this.startWatchingMutations()},a.prototype.update=function (a) {var b,c=this;return a=this.cleanValue(a),(b=a-this.value)?(v(this.el,”odometer-animating-up odometer-animating-down odometer-animating”),b>0?r(this.el,”odometer-animating-up”):r(this.el,”odometer-animating-down”),this.stopWatchingMutations(),this.animate(a),this.startWatchingMutations(),setTimeout(function () {return c.el.offsetHeight,r(c.el,”odometer-animating”)},0),this.value=a):void 0},a.prototype.renderDigit=function () {return s(d)},a.prototype.insertDigit=function (a,b) {return null!=b?this.inside.insertBefore(a,b):this.inside.children.length?this.inside.insertBefore(a,this.inside.children[0]):this.inside.appendChild(a)},a.prototype.addSpacer=function (a,b,c) {var d;return d=s(g),d.innerHTML=a,c&&r(d,c),this.insertDigit(d,b)},a.prototype.addDigit=function (a,b) {var c,d,e,f;if (null==b&&(b=!0),”-“===a)return this.addSpacer(a,null,”odometer-negation-mark”);if (“.”===a)return this.addSpacer(null!=(f=this.format.radix)?f:”.”,null,”odometer-radix-mark”);if (b)for (e=!1;;) {if (!this.format.repeating.length) {if (e)noInternet(“Bad odometer format without digits”);this.resetFormat(),e=!0}if (c=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),”d”===c)break;this.addSpacer(c)}return d=this.renderDigit(),d.querySelector(“.odometer-value”).innerHTML=a,this.digits.push(d),this.insertDigit(d)},a.prototype.animate=function (a) {return p&&”count”!==this.options.animation?this.animateSlide(a):this.animateCount(a)},a.prototype.animateCount=function (a) {var c,d,e,f,g,h=this;if (d=+a-this.value)return f=e=u(),c=this.value,(g=function () {var i,j,k;return u()-f>h.options.duration?(h.value=a,h.render(),void z(h.el,”odometerdone”)):(i=u()-e,i>b&&(e=u(),k=i/h.options.duration,j=d*k,c+=j,h.render(Math.round(c))),null!=w?w(g):setTimeout(g,b))})()},a.prototype.getDigitCount=function () {var a,b,c,d,e,f;for (d=1e;a=++e)c=d[a],d[a]=Math.abs(c);return b=Math.max.apply(Math,d),Math.ceil(Math.log(b+1)/Math.log(10))},a.prototype.getFractionalDigitCount=function () {var a,b,c,d,e,f,g;for (e=1f;a=++f)d=e[a],e[a]=d.toString(),c=b.exec(e[a]),e[a]=null==c?0:c[1].length;return Math.max.apply(Math,e)},a.prototype.resetDigits=function () {return this.digits=[],this.ribbons=[],this.inside.innerHTML=””,this.resetFormat()},a.prototype.animateSlide=function (a) {var b,c,d,f,g,h,i,j,k,l,m,n,o,p,q,s,t,u,v,w,x,y,z,B,C,D,E;if (s=this.value,j=this.getFractionalDigitCount(s,a),j&&(a*=Math.pow(10,j),s*=Math.pow(10,j)),d=a-s) {for (this.bindTransitionEnd(),f=this.getDigitCount(s,a),g=[],b=0,m=v=0;f>=0?f>v:v>f;m=f>=0?++v:–v) {if (t=A(s/Math.pow(10,f-m-1)),i=A(a/Math.pow(10,f-m-1)),h=i-t,Math.abs(h)>this.MAX_VALUES) {for (l=[],n=h/(this.MAX_VALUES+this.MAX_VALUES*b*e),c=t;h>0&&i>c||0>h&&c>i;)l.push(Math.round(c)),c+=n;l[l.length-1]!==i&&l.push(i),b++}else l=function () {E=[];for (var a=t;i>=t?i>=a:a>=i;i>=t?a++:a–)E.push(a);return E}.apply(this);for (m=w=0,y=l.length;y>w;m=++w)k=l[m],l[m]=Math.abs(k%10);g.push(l)}for (this.resetDigits(),D=g.reverse(),m=x=0,z=D.length;z>x;m=++x)for (l=D[m],this.digits[m]||this.addDigit(” “,m>=j),null==(u=this.ribbons)[m]&&(u[m]=this.digits[m].querySelector(“.odometer-ribbon-inner”)),this.ribbons[m].innerHTML=””,0>d&&(l=l.reverse()),o=C=0,B=l.length;B>C;o=++C)k=l[o],q=document.createElement(“div”),q.className=”odometer-value”,q.innerHTML=k,this.ribbons[m].appendChild(q),o===l.length-1&&r(q,”odometer-last-value”),0===o&&r(q,”odometer-first-value”);return 0>t&&this.addDigit(“-“),p=this.inside.querySelector(“.odometer-radix-mark”),null!=p&&p.parent.removeChild(p),j?this.addSpacer(this.format.radix,this.digits[j-1],”odometer-radix-mark”):void 0}},a}(),m.options=null!=(E=window.odometerOptions)?E:{},setTimeout(function () {var a,b,c,d,e;if (window.odometerOptions) {d=window.odometerOptions,e=[];for (a in d)b=d[a],e.push(null!=(c=m.options)[a]?(c=m.options)[a]:c[a]=b);return e}},0),m.init=function () {var a,b,c,d,e,f;if (null!=document.querySelectorAll) {for (b=document.querySelectorAll(m.options.selector||”.odometer”),f=[],c=0,d=b.length;d>c;c++)a=b[c],f.push(a.odometer=new m({el:a,value:null!=(e=a.innerText)?e:a.textContent}));return f}},null!=(null!=(F=document.documentElement)?F.doScroll:void 0)&&null!=document.createEventObject?(D=document.onreadystatechange,document.onreadystatechange=function () {return”compvare”===document.readyState&&m.options.auto!==!1&&m.init(),null!=D?D.apply(this,arguments):void 0}):document.addEventListener(“DOMContentLoaded”,function () {return m.options.auto!==!1?m.init():void 0},!1),”function”==typeof define&&define.amd?define([“jquery”],function () {return m}):typeof exports===!1?module.exports=m:window.Odometer=m}).call(this); ]]>
Source