Embedding YouTube videos in your posts using BB Code!

Redleg

The fire is everything
Staff member
I've added a new BB Code now that you can use to embed YouTube videos directly in your posts.. :smil:

More info:
http://www.military-quotes.com/forum/misc.php?do=bbcode#yt

How to use the new [yt] (youtube) code:
[yt=video name]Video ID[/yt]

If I want to embed this video:
http://www.youtube.com/watch?v=pQHX-SjgQvQ

Then I'll need to use this code:
[yt=Medieval helpdesk]pQHX-SjgQvQ[/yt]
(The Video ID is the characters listed after v= in the URL/Link)

Creates this embedded video:
Medieval helpdesk


Real easy, right?? :D
 
So, what's the easier way?

there's so many ways somtimes i forget. just suggestions here

on the toolbar above the post box. far right side. the blue PHP tag. click

PHP PHP. the brackets won't show up here

back these out and type youtube in. thus

[youtube][/youtube]

the URL from youtube

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

now copy and paste in everything after the =

thus

[youtube]z2wye37sZiQ[/youtube]

done

many forums are now adding a little red youtube icon on that toolbar. when clicked you get:

[yt][/yt] once again add in everything after = done

yet other forums do a simple copy and paste of the URL

while others copy and paste in the embedded.

see why i forget??? would be nice to see one way standardized for all forums. but different strokes for diff servers
 
So, what's the easier way?

For SMF (http://www.simplemachines.org/, my take: The best forum software around, I now run it where owners let me when I do TechAdmin) it´s just pasting the link, and not only for youtube, but for most video sites (Aeva plug), and many audio sites: The way it should be. Total list and link to the plug below.

Rattler

List of directly pasteable video/audio/flash etc. sites in SMF forum software (the "*" behind the site name means it reauires source lookup by software which works on most (98%), but not all servers):

Popular Sites:

YouTube*
YouTube (Playlists)
Dailymotion
Google Video
MetaCafe
Veoh
Vimeo
Apple Trailers*
Archive.org*
Bebo*
Brightcove network
ESPN
Facebook*
Flickr*
GameSpot
IGN
Imeem (Video)*
ImageShack
JustinTV
Kewego network*
MegaVideo*
MSN Live/Soapbox
MySpace
Photobucket
TinyPic
Truveo*
Yahoo Video*

Video Sites (145) - Select All

123video
5min Life Videopedia
9You
ABC News*
AdultSwim
AlloCiné
AniBoom
Atom*
BBC News*
BBC iPlayer (UK)
Blip*
BoFunk*
BombayTV
Break*
Broadcaster*
CarPix Tv
CBS Sports
Cellfish
Clarin
Clip.vn
ClipFish (Old)
ClipFish (New)
ClipJunkie
ClipLife
ClipMoon
Clipser
ClipShack
Cold-Link
CollegeHumor
ComedyCentral/TDS
Crackle
CrunchyRoll*
Culture Pub*
Current*
Dailyhaha
Demoscene.tv*
DotSub (w/o Captions)
DoubleViking*
dropshots.com
Dv.ouou
EASportsWorld*
EbaumsWorld Videos*
Excessif (DVDrama)
ExposureRoom
FunnyOrDie
G4TV
GameKyo
GameTrailers
Gametube.org
GameVideos.1up
GarageTv*
Gloria
Glumbert
GotGame*
GrassRoots ItvLocal
GrindTv*
Guba
TheHub
Hulu (Usa Only)*
Humour*
Video.i.ua*
IMDB*
IndyaRocks
Izlesene
Jokeroo
Joost
JujuNation Video
JumpCut
Kaltura network*
Koreus
Last.fm (Video)
Last.fm (YouTube)
Libero
LiveLeak
LiveVideo
Machinima (Old)
Machinima (New)
Video.mail.ru
Milliyet*
MoFile
Mogulus (Livestream)
MotionBox
Mpora
Mpora TV
MtvU (Usa Only)
Multiply
MyNet
MySoccerMedia*
MyShows.cn*
MyTaratata
MyVideo
MyVi*
M Thai
NhacCuaTui
OffUHuge
The Onion*
OnSmash
PikNikTube
Putfile
Rambler
RawVegas
Revver
RuTube
SevenLoad
ShareView
Sharkle*
Sina Podcast
Smotri
Snotr
SouthPark Studios
Space.tv.cctv.com
Spike
Streetfire*
StupidVideos*
TagTélé
Tangle
Tm-Tube*
TrailerAddict*
TrTube*
Trilulilu*
Tu.tv*
Tudou
UOL VideoLog
UUME
Ustream*
u-Tube
vbox7
VideoJug*
videos.sapo
Vidiac
Viddler*
Videa
VideoNuz*
VidiLife*
VidMax
Vidivodo*
VSocial (Type1)
VSocial (Type2)
Wat.tv*
WeGame
Wipido*
Yahoo Video HK
Yahoo Music Videos
Yandex*
YouKu

Audio Sites (19) - Select All

BooMp3
Deezer
Deezer (Playlists)
Deezer (Radio)
Divshare
EbaumsWorld Audio*
GoEar
iJigg
Imeem (Music)*
Jamendo
JujuNation Audio
Last.fm (Audio)
Last.fm (Artist)
Mp3tube*
MusOpen*
Passionato (Single)
Passionato (Playlist)
Project Playlist
Seeqpod

Other Sites (7)

Imeem (Playlists)*
NewGrounds*
Orb
ScreenToaster
Scribd*
Slide*
VoiceThread
 
Last edited:
[ame="http://www.youtube.com/watch?v=yBw_RjvOz2A"]Emperor - Official Trailer [HD] - YouTube[/ame]

well it works
 
Back
Top