How to embed YouTube videos?

Misc topics

How to embed YouTube videos?

Postby dyn » Tue Mar 12, 2013 16:11 UTC

How to embed YouTube videos in your posts?

It's simple, just use clean url like this: http://www.youtube.com/watch?v=GslzWvQRiJg << v= followed by a video id is the only part you need.

Then post it inside [yt] [/yt] tags like this (shortcut: press the [yt] button):
Code: Select all
[yt]http://www.youtube.com/watch?v=GslzWvQRiJg[/yt]


Old way of embedding used video id only inside [youtube] [/youtube] tags, like:
Code: Select all
[youtube]GslzWvQRiJg[/youtube]


Both ways are valid, [yt] tags are more robust and can extract video id from any YouTube url as long as there is 'v=' present.
User avatar
dyn
Site Admin
 
Posts: 3847
Joined: Mon Apr 14, 2008 07:50 UTC
Favorite map: q3dm8
Server: FFA
Website: https://vogonhq.com

Re: How to embed YouTube videos?

Postby AG » Tue Mar 12, 2013 16:29 UTC

awesome. old way wasn't hard, but posting the url is way easier.
User avatar
AG
Q3 Admin
 
Posts: 2365
Joined: Mon Apr 14, 2008 18:25 UTC
Location: Texas
Favorite map: q3dm17
Server: INSTAKILL
Website: http://vogonhq.com


Return to General Discussion

Who is online

Users browsing this forum: CommonCrawl [Bot], Linkdex [Bot] and 0 guests