Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2002
    Location
    Manchester, England
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding Youtube Videos

    I am building a website for a local band.
    There are some videos of the band on YouTube.

    I wish to embed a couple of the videos on YouTube into my web page.
    Could anyone tell me the coding in which to embed the videos in to a web page.

    I have seen some embedded YouTube Videos in some music forums.
    For Example at this URL http://www.buzzjack.com/forums/index...howtopic=48589

    All you have to do on this site is use the following tags [youtube]video code number here[/youtube]

    I have tried this but it doesn't work.

    So if someone knows how to code this onto the web page I would be greatful.

    All help very much appreciated.

  • #2
    Regular Coder
    Join Date
    Jul 2007
    Location
    United Kingdom
    Posts
    159
    Thanks
    2
    Thanked 15 Times in 15 Posts
    If you load up the YouTube vid of the band and look in the column on the right which displays the username of the user whom uploaded the video and the keywords etc there is a box which says Embed followed by a text box starting with '<object width="425" height="350">'... just click that box and it'll highlight, copy it, then paste it into the HTML section of your site.

    The forums use BBCode to display the YouTube links which is PHP-Based, which converts [YouTube][/YouTube] into that same embed link which you copied.



    ~Jordan
    Remember The Thank You Button Is Your Friend =]

    [ PHP / Javascript / VisualBasic / HTML / DHTML / CSS / .NET / MySQL ]

  • #3
    Registered User
    Join Date
    Oct 2002
    Location
    Manchester, England
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Got it working.

    Many Thanks Jordan

  • #4
    Registered User
    Join Date
    Oct 2002
    Location
    Manchester, England
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by JordanW View Post
    If you load up the YouTube vid of the band and look in the column on the right which displays the username of the user whom uploaded the video and the keywords etc there is a box which says Embed followed by a text box starting with '<object width="425" height="350">'... just click that box and it'll highlight, copy it, then paste it into the HTML section of your site.

    The forums use BBCode to display the YouTube links which is PHP-Based, which converts [YouTube][/YouTube] into that same embed link which you copied.



    ~Jordan
    Thanks Jordan

    Just one other point. On the You Tube page some videos have the Embedding info as: Embedding disabled by request.
    Is there any code to get around this or would it be illegal.

    If it's illegal I don't want to go there.

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    If you are having to ask if its illegal or not, what do you think?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #6
    New to the CF scene
    Join Date
    Sep 2007
    Location
    Massachusetts
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by charter View Post
    Thanks Jordan

    Just one other point. On the You Tube page some videos have the Embedding info as: Embedding disabled by request.
    Is there any code to get around this or would it be illegal.

    If it's illegal I don't want to go there.
    While I'm no ethics expert, the actual code to embed videos would be:

    Code:
    <EMBED SRC="URL" HEIGHT="240" WIDTH="340">
    The other dozen or so extra attributes are optional, yet helpful. Although, I would provide separate links to the videos or have them as Flash so they can stream, as embedded media on pages does tend to lag the downloading process and thus, usability of said page. I hope that I've been helpful.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •