Log in

View Full Version : Embedding Youtube Videos on my Blog


ThatCanadianGuy
November 24th, 2008, 07:51 PM
Hey everybody; a question here from a confused 'tuber (not a potato :D).

I've wanted to embed my youtube videos here on VT as like a "video" blog sort of thing. How do I embed videos either onto a thread or onto my VT blog? I can't seem to get it working. Copying and pasting the embed code just isn't working; the post just shows up with the code written down on it like this:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/fEWdyNeZvcc&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fEWdyNeZvcc&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

Jesse
November 24th, 2008, 08:10 PM
You use the tags to embed a YT video in the forums.
Place the video ID string within the youtube tags.
So,

The video ID string is bolded below:

http://www.youtube.com/watch?v=at_f98qOGY0 (http://www.youtube.com/watch?v=at_f98qOGY0)

(And of course replace the "{" and "}" with "[" and "]" (For the below explaination :) ))
So, {youtube}at_f98qogyo{/youtube} will return:




[youtube]at_f98qOGY0

george
November 24th, 2008, 08:51 PM
No matter what, you should always try and use the URL they give you below the description box on youtube videos because a lot of times, you'll come up with these longer URLs that you get from the top of whichever browser you're using like this -

http://www.youtube.com/watch?v=pZ9jrBg4Lwc&feature=related

Now there's a way to get the part you want from this URL too and that is by taking off the "&feature=related" after the part you want which would be whatever is after the "/watch?v=" part so in this case it would be "pZ9jrBg4Lwc"

Take the "pZ9jrBg4Lwc" part and put {youtube} the code in between so "pZ9jrBg4Lwc" then {/youtube} after the code. Remember to replace the {}'s with []'s or the code will not work and of course take off all the ""s.

The reason why that gianormous code you have doesn't work is because HTML isn't activated on VT.

iJack
November 24th, 2008, 09:15 PM
fEWdyNeZvcc


[noparse] guys. ;)

ThatCanadianGuy
November 24th, 2008, 09:26 PM
Lemme test this now;

DyjmmCLfrr8

ThatCanadianGuy
November 24th, 2008, 09:26 PM
Damn it; not working!!!

theOperaGhost
November 24th, 2008, 09:29 PM
You have to have the / in your end tag... [/youtube]

ThatCanadianGuy
November 24th, 2008, 09:31 PM
Sick! Rep Cookies for everyone!

george
November 24th, 2008, 09:33 PM
OMG COOKIES?! WHERE?! *starts looking around everywhere with giant eyes*

Congratz on figuring out BB code :)

Yay for 13 rep power now :yeah:

theOperaGhost
November 24th, 2008, 09:34 PM
Yay, for James!

Maverick
November 24th, 2008, 09:49 PM
Yay for lockage!

Glad you got sorted.