• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Embeded Flash Games in BBCode Media Sites.

Embeded Flash Games in BBCode Media Sites. 1.5.10

No permission to download

Mian Shahid

Well-known member
#1
ITDarasgah submitted a new resource:

Embeded Flas Games in BBCode Media Sites. - Add embeded flash games to your XF board via BBCode Media Sites.

You can now add your own flash games to your XF board.


SETUP

  1. Media Site ID:
    Code:
    flashgame
    .
  2. Site Title:
    Code:
    Flash Game
    .
  3. Site URL:
    Code:
    http://www.yoursite.com/
    .
  4. Match URLs:
    Code:
    http://www.yoursite.com/games/flash/{$id}/
    .
  5. Embed HTML:
    Code:
    <div align="center"><object width='700' height='700'><param name='movie' value='http://www.yoursite.com/games/flash/{$id}' /><param name='FlashVars' value='id=90' /> <param...
Read more about this resource...
 

Mian Shahid

Well-known member
#3
Yes, but you can set only one path for your all SWF files. This code is designed for single host SWF files, Using multi hosting SWF file is not possible with this code.
 
#4
Yes, but you can set only one path for your all SWF files. This code is designed for single host SWF files, Using multi hosting SWF file is not possible with this code.
This means this BBCode can not be used by every members on forum because they use swf files from many servers/hosting ?
Where will we place these codes ?
Code:
<div align="center"><object width='700' height='700'><param name='movie' value='http://www.yoursite.com/games/flash/{$id}' /><param name='FlashVars' value='id=90' /> <param name='allowScriptAccess' value='always' /><param name='quality' value='high' /><embed name='FlashGames' src='http://www.yoursite.com/games/flash/{$id}' FlashVars='id=90' width='750' height='650' allowScriptAccess='always' quality='high' type='application/x-shockwave-flash'></embed></object><div style='font-size:10px; font-family:Arial, Helvetica, sans-serif; color:#000;'></div></div>
Thanks.
 
#6
Yes, this is basically only for admin and moderators use.

You need to replace Site URL, Match URL, "value" and "scr", accordingly.
Could you help me to create an addon to use Flash BBCode in Text Editor of Xenforo 1.3.x, the format like this : [flash="width, height"]URL of swf file[/flash]
Every member can use this BBCode.
I will buy this add-on.

Thanks so much,
Ngan.
 

Mian Shahid

Well-known member
#7
Could you help me to create an addon to use Flash BBCode in Text Editor of Xenforo 1.3.x, the format like this : [flash="width, height"]URL of swf file[/flash]
Every member can use this BBCode.
I will buy this add-on.

Thanks so much,
Ngan.
I am not expert to create addon but i think @AndyB will do that :)
 
#9
Could you help me to create an addon to use Flash BBCode in Text Editor of Xenforo 1.3.x, the format like this : [flash="width, height"]URL of swf file[/flash]
Every member can use this BBCode.
I will buy this add-on.

Thanks so much,
Ngan.
This can not be done with media sites but is possible with Custom BB Code. See the attachment which shows the code i'm using on my forum.
bb code flash.png

HTML replacement code does not use options and will display swf file at 800x600. you can change this values in HTML code.
Here is full HTML code being used.
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="780" height="550" id="any" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="{text}" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<embed src="{text}" quality="high" bgcolor="#666666" width="800" height="600" name="any" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>