embed YouTube with BBcode

LBmtb

good times
Administrative
Joined
Oct 28, 2004
Messages
4,568
Reaction score
12
Location
Long Beach
BBcode is just a fancy name for the tags on the forum that let you do stuff like bold text, add images, links, etc.
HTML:
Examples: this makes stuff bold and this makes stuff italic
STR now has the ability to embed youTube videos within posts using BBcode.

Here's how:

Youtube URLs always have v=xxxxx at the end. That stuff after the v= is what you want.

For example, the youtube URL, http://youtube.com/watch?v=JFwCCL0Vh6U

PHP:
means you use [youtube]JFwCCL0Vh6U[/youtube]

Here's what that code does . . .

[youtube]JFwCCL0Vh6U[/youtube]

Please use this feature sparingly. If the video is non-work friendly, remember to say so on the thread title by adding "NWF" or "not work friendly" to it.

Enjoy :beer:
 
Last edited by a moderator:
I have seen that guy before on the Kranked Videos and he was on a downhill bike.

Oh ya...Jorge you are a geek!
 
how can you do the same with google video or putfile?
Good question. I'll see if I can figure something out for google video. Putfile is probably a no go though.

Alright Kid A, here ya go for google videos. Take the code after docid= in the google video URL and stick it in our googlevideo BBcode. Here's an example from the following URL:

from
PHP:
http://video.google.com/videoplay?docid=-162891478515007486
you'll use the following tag:
PHP:
 [googlevideo]-162891478515007486[/googlevideo]
That previous example:

[googlevideo]-162891478515007486[/googlevideo]
 
Last edited by a moderator:
test - old vid just to test if works

[googlevideo]7858065233536757164[/googlevideo]

just some old cr@p vid shot i shot with "added" animation

Thanks George

btw -
just curious -what is "issue" with putfile.
also seen the vid you use as example before many times...couldn't even imagine riding let alone wrecking at that speed
 
I cant find what they use for their embed code. All the videos I checked on putfile have "Sorry Code Not Available Yet" where the embed code is supposed to be.
 
First it's Snakes on a Plane, and now Ghost Rider. Aren't the movie makers even trying anymore?


why would they? dumm people still go see this junk ne-dumm way!!#-o it's easy money!!!:clap: :bang: just think of all the nice stuff they're buying w/your money!! muuhahahahhahahahaa!
 
I've always just done lowercase. I have noticed a few issues lately but for the most part it still works fine.
 
bump

any chance we can get Photobucket and Vimeo tags added :?:
 
Nope

[youtube]01NHcTM5IA4&hl=en&fs=1[/youtube]

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

Nope

[youtube]01NHcTM5IA4&hl[/youtube]
 
Ok...because I thought that was part of the URL. At least when you look at the example the OP posted.

still doesnt work.

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

[youtube]nDt6cr6lq0[/youtube]

^^^^NO VIDEO CODE IS THERE - REMOVED THE &hl^^^^
 
still doesnt work.

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

[youtube]nDt6cr6lq0[/youtube]

^^^^NO VIDEO CODE IS THERE - REMOVED THE &hl^^^^
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
63,933
Messages
979,886
Members
16,231
Latest member
SteveL
Back
Top