Link back to YouTube from embedded YT Videos

by GlenH
7 replies
I hope this is the right sub forum to post this question...

I don't know if there's an answer to this, but I'll ask anyway.

I suppose most of us have put a YouTube video into our blogs or web pages, and we know the process is you get the embed code from YT, and drop it in to your website.

Simple.

The problem has always been that the embedded video has the link back to the 'YouTube' site displayed in the status bar.

That has always been a real pain, because it allows visitors to be able to simply click off your site, and end up back at YT watching other videos, which means it's easy to lose sales.

Has anyone worked out how to remove (or disguise) that YT link from being displayed in an embedded YT video?

I realize YT says is against their 'terms of use', to attempt to manipulate that, but I can't see anyway YT could possibly track or trace all the YT videos that are being embedded into the millions of web pages every day.
#back #embedded #link #videos #youtube
  • Profile picture of the author emptee
    Hey mate,

    I think the link you're talking about is the link at the top of the video, right? If so - you sure can disable it - see here:

    Scraping For Fun And Profit - Emails Galore! - Pimp My Pay

    Check out the embed code I'm using there - from memory the part that removes the link is showinfo=0, but you might need to twiddle with it a bit.

    Let me know how you get on

    Michael
    {{ DiscussionBoard.errors[9983778].message }}
    • Profile picture of the author GlenH
      Sorry, I wasn't too clear. See below





      {{ DiscussionBoard.errors[9983827].message }}
    • Profile picture of the author keither
      Originally Posted by emptee View Post

      Hey mate,

      I think the link you're talking about is the link at the top of the video, right? If so - you sure can disable it - see here:

      Scraping For Fun And Profit - Emails Galore! - Pimp My Pay

      Check out the embed code I'm using there - from memory the part that removes the link is showinfo=0, but you might need to twiddle with it a bit.

      Let me know how you get on

      Michael
      How do you stay CAN SPAM compliant with scraping..??
      {{ DiscussionBoard.errors[9984655].message }}
  • Profile picture of the author emptee
    Ahhh.. now I get you - I didn't actually realize the watermark was clickable!

    I've had a quick dig through the way YT embeds work - it's kinda gnarly, so trying to get at the stream in any reliable way is out...

    Here's a quick and dirty way...

    <p style="
    height: 315px;
    overflow: hidden;
    "><iframe src="https://www.youtube.com/embed/tedIFTYRWLs?rel=0&amp;controls=0&amp;showinfo=0" width="560" height="405" frameborder="0" allowfullscreen="allowfullscreen" style="
    position: relative;
    top: -45px;
    "></iframe></p>


    Basically, the "p" height should be the height you want the video to be, the "overflow: hidden" hides anything within the p tag that is larger than it (eg. larger than 315px, in my example). The increased height of the iframe moves the watermark down off the video and the position:relative + top:-45 moves the whole iframe back up the page. Phew!

    So....

    Set p.height to be the desired video height
    Set iframe.height to be p.height + some arbitrary number that is at least twice the height of the watermark
    Set top to ( p.height - iframe.height ) / 2

    Cheers,
    Michael
    {{ DiscussionBoard.errors[9983865].message }}
  • Profile picture of the author emptee
    PS. if you want the player controls to be visible.. you could do something kinda crazy, like... position a fixed sized div over the top of them, eg.

    <iframe..>
    <div style="color:#000000;position:relative;width:20px; height:10px;top:-20px;right:10px"></div>

    Adjusting all the numbers and the colour to suit your needs..

    Keep in mine that you may need to do some weird stuff for browser comatibility, or use javascript to handle stuff.. If it were me, I'd just remove the player controls and keep things easy..

    Michael
    {{ DiscussionBoard.errors[9983872].message }}
  • Profile picture of the author emptee
    Hi keither,

    I don't do it myself - a customer of mine asked if I had any ideas on how it could be done.. after recording them a short video I thought I may as well share it with everyone else.

    There are other reasons besides spamming for trying to collect email addresses - all data is useful afterall!

    At any rate, this is certainly not related to the topic of this thread..

    Michael
    {{ DiscussionBoard.errors[9984983].message }}
  • Profile picture of the author marcelme
    Do you need YT to host your video? You can put you video directly on your site without YT. It's pretty easy, have a look at HTML5 Video
    {{ DiscussionBoard.errors[10000236].message }}

Trending Topics