Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-01-2007, 11:57 AM   PM User | #1
charter
Registered User

 
Join Date: Oct 2002
Location: Manchester, England
Posts: 118
Thanks: 0
Thanked 0 Times in 0 Posts
charter is an unknown quantity at this point
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.
charter is offline   Reply With Quote
Old 09-01-2007, 12:03 PM   PM User | #2
JordanW
Regular Coder

 
Join Date: Jul 2007
Location: United Kingdom
Posts: 159
Thanks: 2
Thanked 15 Times in 15 Posts
JordanW is on a distinguished road
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 ]
JordanW is offline   Reply With Quote
Old 09-01-2007, 01:21 PM   PM User | #3
charter
Registered User

 
Join Date: Oct 2002
Location: Manchester, England
Posts: 118
Thanks: 0
Thanked 0 Times in 0 Posts
charter is an unknown quantity at this point
Got it working.

Many Thanks Jordan
charter is offline   Reply With Quote
Old 09-07-2007, 10:20 AM   PM User | #4
charter
Registered User

 
Join Date: Oct 2002
Location: Manchester, England
Posts: 118
Thanks: 0
Thanked 0 Times in 0 Posts
charter is an unknown quantity at this point
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.
charter is offline   Reply With Quote
Old 09-07-2007, 01:50 PM   PM User | #5
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
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!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 09-08-2007, 04:31 AM   PM User | #6
shoegazer
New to the CF scene

 
Join Date: Sep 2007
Location: Massachusetts
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
shoegazer is an unknown quantity at this point
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.
shoegazer is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:14 AM.


Advertisement
Log in to turn off these ads.