1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Prevent video opening in new tab

Discussion in 'YouTube' started by indebt, Jan 13, 2011.

  1. indebt

    indebt Junior Member

    Joined:
    May 19, 2009
    Messages:
    108
    Likes Received:
    47
    So how do i avoid someone clicking on an embeded youtube video on my site and opening a new tab of the youtube page?
     
  2. dromero

    dromero Newbie

    Joined:
    Nov 19, 2010
    Messages:
    35
    Likes Received:
    18
    Try this:

    <embed src="Utube/v/blahblah" type="application/x-shockwave-flash" allowscriptaccess="always" allownetworking="internal" allowfullscreen="false">
     
    • Thanks Thanks x 2
  3. indebt

    indebt Junior Member

    Joined:
    May 19, 2009
    Messages:
    108
    Likes Received:
    47
    Yep that worked a treat. Thanks