1. 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. 1.5.10

Add embeded flash games to your XF board via BBCode Media Sites.

  1. Mian Shahid

    Mian Shahid Well-Known Member

    ITDarasgah submitted a new resource:

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

    Read more about this resource...
     
  2. ngannguyen

    ngannguyen Active Member

    Hi,
    Can I use flash files (.swf) which were uploaded on other servers and display them on my forum via flash BBcode ?

    Thanks,
    Ngan.
     
  3. Mian Shahid

    Mian Shahid Well-Known Member

    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.
     
    ngannguyen likes this.
  4. ngannguyen

    ngannguyen Active Member

    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.
     
  5. Mian Shahid

    Mian Shahid Well-Known Member

    Yes, this is basically only for admin and moderators use.

    You need to replace Site URL, Match URL, "value" and "scr", accordingly.
     
  6. ngannguyen

    ngannguyen Active Member

    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.
     
  7. Mian Shahid

    Mian Shahid Well-Known Member

    I am not expert to create addon but i think @AndyB will do that :)
     
  8. Mian Shahid

    Mian Shahid Well-Known Member

  9. Bilal

    Bilal Member

    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>
     
  10. dondomainer

    dondomainer Member

    is there any other solution?
     
    Last edited: Sep 16, 2016
  11. Mian Shahid

    Mian Shahid Well-Known Member

  12. dondomainer

    dondomainer Member

  13. Mian Shahid

    Mian Shahid Well-Known Member

    No Problem :) an update is just ready to launch ;)
     
    dondomainer likes this.
  14. Mian Shahid

    Mian Shahid Well-Known Member

    dondomainer likes this.

Share This Page