Log in

View Full Version : How to write a BBCode for Game Trailers.?


Gamelobby
06-23-2011, 06:55 AM
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..
<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>

I'm guessing a bbcode can be written for almost anything, so im also guessing this should be pretty easy.. And if i am correct can anyone help me.?
Or is it more difficult than i think.?


Thanks for any feedback either way. :D

khaos44
06-30-2011, 02:21 AM
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 ejOJkcs-a7s
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

Gamelobby
06-30-2011, 10:06 PM
I don't want a bbcode for youtube..!?

Gemma
06-30-2011, 10:35 PM
Title: Game Trailers
BB Code Tag: gametrailers
Replacement: <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>
Example: 716958

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.

Gamelobby
08-03-2011, 01:16 AM
That looks perfect.!!

Any idea how i can write the RSS Feed link to work.?




{feed:title}
{feed:content:encoded}
{feed:enclosure_href}

{feed:description}

{feed:link}

Gamelobby
09-06-2011, 04:06 PM
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.

Gemma
09-06-2011, 04:37 PM
In the bbcode manager use this as the replacement
<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>

https://vborg.vbsupport.ru/showthread.php?p=2242682

Gamelobby
09-09-2011, 07:19 AM
Worked like a charm.!!
Thank you very much. :)