The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
youtube and google videos
how do you add the option of playing youtube and other videos within the thread/post instead of having to goto the host site.
|
#2
|
|||
|
|||
I've created a custom [youtube] BBcode tag that lets you do this. You can do it a number of different ways, but mine is like:
[youtube]YouTubeVideoID[/youtube] where YouTubeVideoID is the code that YouTube gives to each video on its site. That ID is a mix of characters, symbols and numbers. and can be found by looking at the URL to the YouTube video. It's the value in the "v=" name/value pairing in all YouTube URLs. To do it in AdminCP, go to Custom BBcode > Add New BBcode. Call it YouTube Video, or whatever you want. For "Tag" enter youtube. For replacement, enter: HTML Code:
<object width="425" height="350"><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="350"></embed></object> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|