View Single Post
Old 12-19-2009, 07:39 PM   #2
stoffe
Mostly dormant
 
stoffe's Avatar
 
Status: Administrator
Join Date: Apr 2002
Posts: 5,834
Helpful! 10 year veteran! Notable contributor 
Quote:
Originally Posted by DarthParametric View Post
Might I humbly suggest incorporating additional code to expand the options for embedding video?
Modified the [youtube] tag to take the movie clip type as a parameter. Valid values are no parameter (default, like before), hq or hd.

Usage examples:

Normal/small video:
[youtube]http://www.youtube.com/watch?v=rXVT0Khzdhs[/youtube]


High quality (HQ) video:
[youtube=hq]http://www.youtube.com/watch?v=s_ZaHNHIQOA[/youtube]


HD quality video:
[youtube=hd]http://www.youtube.com/watch?v=o4mqJvnuiUo[/youtube]


If you use it make sure you set the correct type or it will likely look crap. I'll have a look at GameTrailers later and see how their embeds work. Shouldn't be too hard to add I think.


mt
stoffe is offline   you may: quote & reply,