The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to write a BBCode for Game Trailers.?
I would really like to be able to just use bbcode to embed GT videos, but the only thing i can find is AME & that is too complex to bother for just GameTrailers.
Here is the embed code for GT.. Code:
<div style="background-color:#000000;width:520px;"><div style="padding:4px;"><embed src="http://media.mtvnservices.com/mgid:moses:video:gametrailers.com:716680" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="." flashVars=""></embed><p style="text-align:left;background-color:#FFFFFF;padding:4px;margin-top:4px;margin-bottom:0px;font-family:Arial, Helvetica, sans-serif;font-size:12px;">Tags: <a href="http://www.gametrailers.com">GameTrailers.com</a>, <a href="http://www.gametrailers.com/video/e3-2011-nhl-12/716680">E3 2011: Gameplay Demo (Cam)</a>, <a href="http://pc.gametrailers.com/">PC Games</a>, <a href="http://ps3.gametrailers.com/">PlayStation 3</a>, <a href="http://xbox360.gametrailers.com/">Xbox 360</a></p></div></div> Or is it more difficult than i think.? Thanks for any feedback either way. |
#2
|
|||
|
|||
Found this trailer on youtube.
http://www.youtube.com/watch?v=ofHiLxDrx4U If you add the Youtube Link Auto Parser you can copy the link straight too you forum. If you want a bbcode for youtube then Title Youtube BB Tag Youtube HTML <object width="640" height="480"><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 [youtube]ejOJkcs-a7s[/youtube] Description 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 |
#3
|
||||
|
||||
I don't want a bbcode for youtube..!?
|
#4
|
||||
|
||||
Title: Game Trailers
BB Code Tag: gametrailers Replacement: Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="480" height="392"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid={param}"/> <param name="quality" value="high" /> <embed src="http://www.gametrailers.com/remote_wrap.php?mid={param}" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="392"></embed> </object> Just take the number part of the trailer ie http://www.gametrailers.com/video/behind-2027-deus-ex/716958 Only plays the SD versions on your site though, clicking HD takes you to their site. Don't know if that helps you. |
2 благодарности(ей) от: | ||
CharlieDelta, Gamelobby |
#5
|
||||
|
||||
That looks perfect.!!
Any idea how i can write the RSS Feed link to work.? Quote:
|
#6
|
||||
|
||||
I think Game Trailers changed something, it doesn't work anymore.
If you click on it now you get an iframe window that shows the whole GT site in a little video window. |
#7
|
||||
|
||||
In the bbcode manager use this as the 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> |
#8
|
||||
|
||||
Worked like a charm.!!
Thank you very much. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|