KALYAN CITY LIFE

Sharing Wisdom and Vivid Memories of Life

Disable Link On Youtube's Embedded Flash Player


red square How To Disable Link On Youtube's Flash Player? ↓


With the latest upgrade to Abode Flash Player, it is now possible to have a better control on Video Flash Players you embed on web pages or blogs. One such new feature is that you can control (i.e either Turn On or Off) the default Hyperlink set on most embedded video flash players. Example: Youtube.com

Youtube Logo

Take an example of Youtube's Embedded Flash Player. Whenever you embed Youtube's video code on your website, a hyperlink is set by default to Youtube.com. When you Click on this embedded flash player for 1st time it as normal starts playing the streaming Youtube video. However, when you Click on same streaming flash player for 2nd time then you're automatically re-directed to original Youtube site. Sometimes this can be annoying if you've many Youtube Videos embedded on your web page. This problem can be easily fixed by manually adding allownetworking="internal" in Youtube's code.


red square Add allownetworking="internal" To Youtube Code ↓



allownetworking internal


  1. Copy the original default embedding code of your favorite Youtube video on a notepad.
  2. Now in default Youtube Code, find starting and ending embed tags.
  3. Within embed tags find allowfullscreen="true".
  4. Just after allowfullscreen="true" add allownetworking="internal".
  5. Now post the modified code on your webpage or blog to get Youtube's flash player link disabled.
  6. If you've trouble implementing this procedure then please copy the sample modified code (given below in this article) directly to your blog (web page) and finally before embedding don't forget to change the url value to your selected Youtube video.


red square Demo: Youtube Flash Player With Default Link ↓


Youtube's orignal Default Code with allownetworking="internal" not added.

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/aeYTBvanFmE&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;iv_load_policy=3&amp;showsearch=0&amp;showinfo=0"/>
<param name="allowFullScreen" value="true"/>
<embed wmode="transparent" src="http://www.youtube.com/v/aeYTBvanFmE&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;iv_load_policy=3&amp;showsearch=0&amp;showinfo=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed><param name="wmode" value="transparent"/>
</object>

red square Demo : Youtube Flash Player With Link Disabled ↓

Youtube's Modified Embedded Code with allownetworking="internal" added.

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/aeYTBvanFmE&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;iv_load_policy=3&amp;showsearch=0&amp;showinfo=0"/>
<param name="allowFullScreen" value="true"/>
<embed wmode="transparent" src="http://www.youtube.com/v/aeYTBvanFmE&amp;rel=0&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;iv_load_policy=3&amp;showsearch=0&amp;showinfo=0" type="application/x-shockwave-flash" allowfullscreen="true" allownetworking="internal" width="425" height="344"></embed><param name="wmode" value="transparent"/>
</object>





squareRelated



7 Comments:

  1. Anonymous said...

    I agree with Ange ou Demon! You are the best!! THANK YOU

  2. Kazeari said...

    I have to say thank you to you too!
    Wasn't using it for youtube but worked for another flash movie!

  3. Gaurav Akrani said...

    @Kazeari,

    Just tested, it is also working for embedded video players of other video sites.

    See to it that you always add allownetworking="internal" within embed tags.

    Thanks to Adobe too for update of this new control feature.

  4. Vjekoslav said...

    Thanx!
    Is it possible 2 link youtube video only when u click on video title?

  5. Anonymous said...

    Wow, I looked everywhere for this...

    You are amazing!!!! Thanks!!!!!!

  6. Anonymous said...

    great but how can i combine allownetworking=internal and the use of the youtube API call onYouTubePlayerReady?
    no chance but i have to check whether the given movie is at a specific time of duration.
    hope someone have an idea.
    thx

  7. Anonymous said...

    This worked, but I had to go alternative route and past the code in.
    One further thing though. When the video stops it displays the related videos. Still the code contains the 'rel=0' which should take that away. Anyone who knows how to deal with this?

Please Comment



 
Scroll To Top