PDA

View Full Version : BB Code Enhancements - xFire Video Embed BBCODE


CrazyProgrammer
10-04-2009, 10:00 PM
This is a simple bbcode to integrate xfire video in to your post like youtube and megavideo etc you can now do on xfire :)

Goto Admincp -> Custom BBCodes -> Manage BBCodes -> Add new BBCode

Title:
xFire Video Embed

Tag:
xfvid

Replacement code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="http://www.xfire.com/video/{param}" title="Click to view this video on xFire" target="_blank">Open on xFire</a>
</td>
</tr>
</thead>
<tr>
<td>
<embed id="xfvid"
src="http://media.xfire.com/swf/vplayer.swf?videoid={param}"
style="width: 435px; height: 360px;" allowfullscreen="true"
allowscriptaccess="always" type="application/x-shockwave-flash">
</embed>
</td>
</tr>
</table>

Example:
97150

Description:
Integrates xFire video into the post

Use {option}:
No

Button Image:
Check Bottom of post in attachments

Click save :) and your done

z0diac
10-05-2009, 03:37 PM
As far as I can tell, xFire has something to do with game or instant messaging or something.

'Not sure what your mod does... ? Demo page available?

CrazyProgrammer
10-05-2009, 06:26 PM
well xfire these days u can make videos and upload them on the fly ingame and if u have a clan or gaming community etc if u want to ur people something wierd,funny and interesting that happened ingame im making a screenshot as we speak :)

Neomega
10-16-2009, 02:12 AM
Wow good job I will install this NOW, my site could really make use of this mod!

www.gamescrim.com and soon to add www.leetleague.com