This explains the way to disable links on YouTube videos. This code hack can secure your traffic by disabling clickable links to the original location on flash players like YouTube. When you embed a YouTube video using their default embed code or through an external player, a link to the original YouTube video also enable along with player. If you suffer about that source link because that link can throw your traffic away, it’s totally understandable. But fortunately with an Adobe Flash Player parameter, you can easily disable that original link.
Not only with YouTube but, this hack can be used with on most embedded flash players.
Hack – Disable link to the original location on embedded YouTube videos
YouTube now provides an IFrame to embed videos. But still you can use old embed code. Only thing you need is video id. You can copy it from URL. It’s the code which locates after,
To disable internal links use
This is how we can disable original YouTube links on embedded player:
<object width="560" height="315">
<param name="allowFullScreen" value="true">
<param name="wmode" value="transparent">
<param name="src" value="http://www.youtube.com/v/HIrMIeN5ttE">
<param name="allowfullscreen" value="true">
<param name="allownetworking" value="internal">
Example: (Try clicking on Youtube watermark)
Note: If you use your own advertisements on the flash player, this parameter may course some problems. So make it clear before update your code. And check your sponsor’s terms once again about external parameters like this.
Click the following link to find some other parameters to modify your YouTube player.
With them you can change the appearance of the player (like player color and borders), disable relevant video suggestion, embed High quality videos etc…
Have any troubles? Shoot a comment.