Back to vBulletin 4.x Add-ons

GameTrailers BBCode
Mod Version: 1.00, by Gemma

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 16
Released: 06 Sep 2011 Last Update: Never Downloads: 0
Not Supported Re-usable Code External Content  

Someone asked about BBCode for embedding GameTrailer videos in posts, here is how I've got it working on my site.

Add a new bbcode (AdminCP > Custom BB Codes > Add New BB Code)

Title: Game Trailers BB Code
BB Code Tag Name: gametrailers
Replacement:
Code:
<embed width="640" height="391" src="http://media.mtvnservices.com/mgid:moses:video:gametrailers.com:{param}"  quality="high" bgcolor="000000" name="efp" align="middle" type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  flashvars="autoPlay=false"  allowfullscreen="true">
</embed>
Description: Embed video trailers from GameTrailers into posts
Example: [gametrailers]33772[/gametrailers]
User Option: No
Button Image (Optional): path-to-your-styles/editor/gametrailers.png (change accordingly (button attached))

Example usage - http://www.gametrailers.com/video/launch-trailer-driver-san/720144

[gametrailers]720144[/gametrailers]

Other Game trailer bbcodes
GameSpot - GameSpot BBCode
IGN - IGN Trailers BBCode

Download

No files for download.

Screenshots

Click image for larger version
Name:	gt.jpg
Views:	317
Size:	67.5 KB
ID:	132712  

Similar Mods

BB Code Enhancements Gametrailers Video Embed BB Code vBulletin 3.7 Add-ons
New Posting Features Gametrailers on the fly in posts vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024