vBulletin lacks a native functionality to embed YouTube videos.
And enabling raw HTML in posts is just not feasible.
So, a good and fast way to enable users to embed YouTube videos
is to create a custom BBCode (vBCode). Heres how :
1. Login to your AdminCP.
2. Scroll down the left frame to the settings group "Custom BB Codes"
3. Click the "Add New BB Code" link
4. You'll now be presented with a page with 6 text boxes and an option button.
5. Enter the values as given below :
Title : YouTube
Tag : youtube
Replacement :
Code:
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/{param}"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.youtube.com/v/{param}"
type="application/x-shockwave-flash" wmode="transparent"
width="425" height="355"></embed>
</object> Example : [youtube]U-zj0Y_1cNQ[/youtube]
Description :
Code:
Embed YouTube videos in your post.
You just have to put the video ID of the video to be embedded
inside the YouTube BBCode, and it will automatically parse it
into the flash video.
Use {option} : No
Button Image : << path/to/your/youtube/icon/image >> (like

)
6. Now click the [Save] button.
--------
Hope you all find it useful.
