User:Mfaizsyahmi/ytlinkpopup

yt link popup is a combination of javascript and template that allows users of your wiki to get more information on YouTube videos by hovering over YouTube links on articles in your wiki. This script is originally written for Hitler Parody Wiki.

The script requires a ytlinkpopup template on your local wiki to work. The template can then be customized to best suit your wiki's styles.

Template
X:YY Loading... Failed to fetch video info. Video removed? a very very long Title text goes here and it just goes on and on and on up till it reaches the third line at which it should overflow by Author HD published dd month year XXX X     Y

Usage
After installation, every YouTube link on your wiki will have this pop up appearing when hovered. For the argument of choices yt link popup only works on long URLs, and will skip shortened youtu.be URLs.

Customization
You can edit the template and CSS to suit your wiki.