miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

Flash swf files BB code

Author mario
Registered
#1 | Posted: 1 Apr 2003 19:59 
Hello:
How can add and preview .swf files.
Thanks in advance

Author Sergei
Team member
#2 | Posted: 1 Apr 2003 21:42 
You mean like images through [img] BBcode? Yes, if you'll modify bb_codes.php file and add one more bbcode for swf. Current version of miniBB has only image insertion option.

Author Paul
Lead Developer
#3 | Posted: 15 Apr 2003 10:34 
The following codes SHOULD work (I've just tested them on my server, so if you are experiencing an error, try to find it yourself):

encodeBB():

$pattern[] = "/\[flash\](.+?)\[\/flash\]/is";
$replacement[] = '<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="\\1"></OBJECT>';

decodeBB():

$pattern[] = "/<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME=\"movie\" VALUE=\"(.+?)\"><\/OBJECT>/s";
$replacement[] = '[flash]\\1[/flash]';

Author Marius
Registered
#4 | Posted: 5 Feb 2007 14:21 | Edited by: Marius 
Thanks...

Author Danny2000
Registered
#5 | Posted: 2 Nov 2009 06:19 
How can we change size of flash make it bigger or smaller?

Author Paul
Lead Developer
#6 | Posted: 3 Nov 2009 09:16 
Danny2000:
How can we change size of flash make it bigger or smaller?

It depends on how your flash movie is set up via HTML params... probably there must be some additional code to pass in <param> vars or URL itself.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / Flash swf files BB code Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB