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

How to prevent user from being redirected to host site when embedding videos?

Discussion in 'Black Hat SEO' started by IGotta, Dec 9, 2011.

  1. IGotta

    IGotta Junior Member

    Joined:
    Aug 27, 2010
    Messages:
    105
    Likes Received:
    41
    Occupation:
    Entrepreneur
    Location:
    Earth
    I'm not sure if I worded the title right, I'm not really sure how to ask it...

    When you embed a video onto your site, how do you prevent the user from being taken to the host site when clicking the video? This isn't just for YT videos, but all embedded videos.

    I want to be able to embed a video on my site, but when the user clicks it I don't want it to take them to the site where the video was uploaded? Is this possible?

    Is it also possible to prevent full screen?



    I was thinking of disabling left and right click, and just having the video start playing automatically but I don't like that. They wouldn't be able to click anywhere anyways.:confused:

    Any advice is greatly appreciated and welcomed.
     
  2. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    480
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    This is the closest I've found. Your visitors still can click on the small youtube logo on the bottom right, but if they click anywhere else on the video, nothing happens. It has autoplay, doesn't go full screen AFAIK, and has playlist. It also plays videos from other sources:

    Demo:
    Code:
    http://2.s3.envato.com/files/11971045/index.html
    Page:
    Code:
    http://activeden.net/item/video-banner-youtubeflv-as3-v2/1019113
     
    • Thanks Thanks x 1
  3. Fuggz

    Fuggz Power Member

    Joined:
    Mar 25, 2010
    Messages:
    584
    Likes Received:
    603
    • Thanks Thanks x 1
    Last edited: Dec 9, 2011