...

View Full Version : Embedding Youtube Videos



charter
09-01-2007, 12:57 PM
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.php?showtopic=48589

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

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.

JordanW
09-01-2007, 01:03 PM
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 into that same embed link which you copied.



~Jordan

charter
09-01-2007, 02:21 PM
Got it working.

Many Thanks Jordan

charter
09-07-2007, 11:20 AM
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 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.

_Aerospace_Eng_
09-07-2007, 02:50 PM
If you are having to ask if its illegal or not, what do you think?

shoegazer
09-08-2007, 05:31 AM
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:


<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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum