You can now embed YouTube Videos!

GAD

Administrator
Staff member
Check this out!

You can now embed YouTube videos in your posts. Here's how:

Find the video you'd like to include and get the URL. Here's the URL for the one I've included:

http://www.youtube.com/watch?v=cYl8SYNuaKQ

Take everything to the right of the equals sign. In this case, cYl8SYNuaKQ

This is the code you need to put in the youtube code.

Paste that code like this:

cYl8SYNuaKQ

Select it, then click the new YouTube button in the compose screen. Here's what it looks like (xx put in so it didn't trigger an actual video:

Code:
[YxxTUBE]cYl8SYNuaKQ[/YOUTUBE]
and here's the result:




NOTE: You cannot have any spaces or carriage returns in the code. This will not work:

Code:
[YxxTUBE]
 cYl8SYNuaKQ
[/YOUTUBE]
Also you may need to remove anything after the code itself. For example in this URL, you may need to remove everything to the right of the code starting with the "&" - you only want what's in bold:

hxxp://www.youtube.com/watch?v=cYl8SYNuaKQ&feature=player_embedded
 

GAD

Administrator
Staff member
Terri - You can't have spaces or carriage returns between the ubb codes.
 

TerriW

Active member
Ok, when you click on the YouTube button, it forces a carriage return. I typed in [ YOUTUBE] then pasted the code then [ /YOUTUBE] and that worked.

(Minus the space before YOUTUBE and /YOUTUBE. If I omitted the space, it attempted to interpret the ubb code, and it carriage returned numerous times).
 
Last edited:

GAD

Administrator
Staff member
Ok, when you click on the YouTube button, it forces a carriage return. I typed in [ YOUTUBE] then pasted the code then [ /YOUTUBE] and that worked.

(Minus the space before YOUTUBE and /YOUTUBE. If I left the space, it carriage returned numerous times).
What browser do you use? It doesn't do that for me.
 

GAD

Administrator
Staff member
Eh, I'm on IE unfortunately. New laptop and I haven't downloaded a better browser yet.
Wow - that's weird.

OK try this then - click the button first, and it will put the tags in without the carriage return. Then paste the code between them. That worked on my version of IE
 

TerriW

Active member
Wow - that's weird.

OK try this then - click the button first, and it will put the tags in without the carriage return. Then paste the code between them. That worked on my version of IE
Yep that worked. I tried that earlier, but had left in some of the URL that didn't belong (the &feature=related part). Basically it's easiest if you drop the URL in here, isolate everything to the right of the first = sign, then eliminate everything from the & to the right; ie,
http://www.youtube.com/watch?v=RDe8Z94HUXI&feature=related get rid of everything from http:// up to and including the =, then delete everything from the "&" till the end.

Then take what's left and ctrl-X, hit the youtube button, and ctrl-v between the ubb code tags.
 
Last edited:
Top