View Single Post
Old 15th February 2009, 09:59 PM   #1
Mario
Special Guest
 
Mario's Avatar
 
Join Date: Dec 2008
Location: @home
Posts: 627
Lightbulb How to embed YouTube video?

Today I have added a BBcode to allow the direct embeding of YouTube videos.

There are three tags:
  • regular [youtube]video[/yоutube]
  • hq [youtubehq]video[/yоutubehq]
  • hd [youtubehd]video[/yоutubehd]
where video is the first eleven alphanumeric character sequence found after watch?v= in a YouTube video URL.


Examples:


Regular YouTube video quality:



High Quality YouTube video:
http://www.youtube.com/watch?v=XsF4aQApWHs



High Definition YouTube video:
http://www.youtube.com/watch?v=XsF4aQApWHs
Mario is offline   Reply With Quote