Skip to content

dilushanka/Live-YT-sub-Counter-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Live Subscribe Counter

Demo Here -- www.helalk.com/about

Overview

Youtube Live Subscribe Counter is a web application that allows users to display the real-time subscriber count of a Youtube channel in a web page. This application uses HTML, CSS, JavaScript, and Google Youtube API to fetch the subscriber count data and display it on the web page.

Features

  • Displays real-time subscriber count of a Youtube channel.
  • Updates the subscriber count automatically without the need to refresh the web page.
  • Customizable styles and display options.
  • Can be easily integrated into any web page using a simple JavaScript code snippet.

Usage

To use the Youtube Live Subscribe Counter in your web page, follow these steps:

  1. Open script.js file in your Code editor.
  2. Replace the UCm1_-vkonHv3nQuvux5xtDw following code to the Your YT channel ID:
const channelIdCarry = 'UCm1_-vkonHv3nQuvux5xtDw'
  1. Replace ApiKey with your Google console YT API key.
const urlCarry = `https://www.googleapis.com/youtube/v3/channels?part=statistics&id=${channelIdCarry}&key=ApiKey`;

Credits

The Youtube Live Subscribe Counter was created by Dilushanka.

License

The Youtube Live Subscribe Counter is released under the MIT License.