flup
05-12-2007, 10:00 PM
These two nifte little BBCodes allow your users to post flash videos from YouTube or GoogleVideo to your website.
The users can take the IDs from the videos and use them:
Google:
http://video.google.nl/videoplay?docid=4279562042646015561
Would become: 4279562042646015561
YouTube:
http://www.youtube.com/?v=_crcVQtbSqg
Would become: _crcVQtbSqg
How to install:
Go to your forum adminCP and click Custom BB Codes -> Add new BB Code
Google BB Code:
Title: GoogleVideo
Tag: googlevideo
Replacement:
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={param}&hl=nl" flashvars=""> </embed>
Example: 4279562042646015561
Description: Add GoogleVideos to your vBulletin forum posts by Joshua de Gier
YouTube BB Code:
Title: YouTube Videos
Tag: youtube
Replacement:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Example: _crcVQtbSqg
Description: Add YouTube videos to your vBulletin forum posts by Joshua de Gier
Enjoy these little but funny BB codes ;)
The users can take the IDs from the videos and use them:
Google:
http://video.google.nl/videoplay?docid=4279562042646015561
Would become: 4279562042646015561
YouTube:
http://www.youtube.com/?v=_crcVQtbSqg
Would become: _crcVQtbSqg
How to install:
Go to your forum adminCP and click Custom BB Codes -> Add new BB Code
Google BB Code:
Title: GoogleVideo
Tag: googlevideo
Replacement:
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={param}&hl=nl" flashvars=""> </embed>
Example: 4279562042646015561
Description: Add GoogleVideos to your vBulletin forum posts by Joshua de Gier
YouTube BB Code:
Title: YouTube Videos
Tag: youtube
Replacement:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Example: _crcVQtbSqg
Description: Add YouTube videos to your vBulletin forum posts by Joshua de Gier
Enjoy these little but funny BB codes ;)