Youtube Channel Statistics
If you are looking for a way to display the count of subscribers, videos or views of a Youtube channel in a Joomla article or module, this plugin is for you.
Installation
Download plugin and install it via Joomla installer. Then goto Extensions > Plugins > Content - Youtube Channel Statistics to get started.
Notice: This plugin just work for Joomla 3.4+ & 4, 5
How to use
After install this module, you need create a Youtube API key. See this article: How to Get a YouTube API Key
Open this plugin and fill your key:
Create an example article and put code below:
{youtubechannel <Channel ID> <Param>}
- <Channel ID> is your youtube channel ID, not Username. Example with Apple channel, the channel ID is UCE_M8A5yxnLfW0KghEeajjw
- <Param> is one of these parameters: subCount, videoCount, viewCount.
Example to get subscriber count of Apple channel, you will use: {youtubechannel UCE_M8A5yxnLfW0KghEeajjw subCount}
In content editor, if you fill text:
We have {youtubechannel UCE_M8A5yxnLfW0KghEeajjw subCount} subscribers!
The output is:
We have 15.2m subscribers!
Notice: For channels with hidden subscriptions, you cannot use subCount param.
This plugin is Content type so if you want use it for module, please read this article.