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.
1. The "radio buttons" extra field doesn't transfer the values in the additional field, e.g., "yes" or "no," and only enters certain values into the #__fields_values database.
2. The "textarea" extra field with the "Use editor" option checked converts to "textarea" when it should be "editor."
3. In K2, the extra field group is assigned in the category. In Joomla Articles, the category is assigned in the extra field. It would be nice if this were automatically completed. A checkbox could be added if someone doesn't want this option.