Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.


Mô tả

Here is a simple shortcode to include swf in your articles. You just have to give the address of the image (absolute or something that approximates to be relative), and the swf is inserted in your article to its own dimensions. Of course you can change these dimensions through the shortcode. You can also provide flashvars and change the parameters and attributes of the object. You can specify an id and/or class for the html object created.

It use swfObject2 (javascript) for swf embedding in the html page.


It require Javascript enabled, php 4 (not sure).

You can also visit Plugin Page

Options description

or visit Plugin Page

eg, swf URL :

Define default settings to the option page. Default folder is the basis for relative url. However, if default folder is “”
and you want access to “”, you can write : “wp-content/mySWF/myswf.swf”.

= ShortCode Simple use=

The parameter to provide to the shortcode is \movie\, and accept differents url :

[BB_SWF movie=””]

[BB_SWF movie=”/wp-content/uploads/2011/09/monSWF.swf”]

[BB_SWF movie=”wp-content/uploads/2011/09/monSWF.swf”]

[BB_SWF movie=”/uploads/2011/09/monSWF.swf”]

[BB_SWF movie=”uploads/2011/09/monSWF.swf”]

If the url is not absolute, it always will point to the directory “, you just have to complete.

This also works if the wordpress installation directory is not the root of your site, eg:”

To insert a swf from another domain, or some other directory than wp-content, just provide an absolute url.

= General Settings=

1/ You can provide a width and height for the swf by the parameters width and height.

[BB_SWF movie=”uploads/2011/09/monSWF.swf” width=”200″ height=”300″]

If one of these two parameters is missing it will be automatically adjusted to the original swf size.

2/ You can also specify an id and a class to the object inserted, so you can play with css, by the parameters id et class :

[BB_SWF movie=”uploads/2011/09/monSWF.swf” id=”monSwfId” class=”swfClassEmbed”]

If the id is not specified, it is automatically set to: bbSWFId”+name of the swf

3/ You can specify the minimm flash player version by the “minfp” parameter :

[BB_SWF movie=”uploads/2011/09/monSWF.swf” minfp=”10.0.0″]

By default it’s set to 9.0.0


You can provide flash vars to the imported swf by the parameter”flashvar. Different pairs name/value must be separated by the caracter &” or |”. Pairs name/value could be of the form name1=value1 or name1:value1.

[BB_SWF movie=”uploads/2011/09/monSWF.swf” flashvar=”name1=value1&name2:value2|name4=value4″]

Advanced Settings

1/ Changing Attributes

You can modify attributes by the parameter attributes, pairs name/value must be separated by the caracter &” or |” or ,”, and associated by =” ou :”.

[BB_SWF movie=”uploads/2011/09/monSWF.swf” attributes=”name1=value1&name2:value2|name3=value3,name4=value4″]

for example, to change the alignment of the object:

[BB_SWF movie=”uploads/2011/09/monSWF.swf” attributes=”align:left”]

2/ Changing parameters

VYou can modify parameter by params, pairs name/value must be separated by the caracter &” or |” or ,”, and associated by =” ou :”.

For example for a transparent swf (we play on the wmode) and scripts access modification :

[BB_SWF movie=”uploads/2011/09/monSWF.swf” params=”wmode:transparent&allowscriptaccess=always”]

In short, you can edit all the usual parameters.

Cài đặt

  1. Upload the “” file.
  2. Unzip the content
  3. Copy the “BillyBenSWF” folder to your wordpress pluging folder
  4. Activate the plugin through the “Plugins” menu in WordPress
    That’s all, use then shortcode in your post.

Hỏi đáp

I can’t embed Twice the same swf ?

Solution : provide a diffrent “id” for each one by the id shortcode parameter. It happens beacause the flash object id is build by default with the swf name.

Please Ask! Plugin Page or Plugin forum

Đánh giá

There are no reviews for this plugin.

Người đóng góp & Lập trình viên

“BillyBenSWF” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


  • add option page to set default values (default folder, default minimal FP version, default default content)
  • french traduction… (of the option page)
  • help & about page

= 1.0.2=
* small copy/paste mistake…. (fix incompatibility with BillyBenRing…)

= 1.0.1=
* add minimum flash player version parameter

= 1.0.0=
* Shortcode enable for swf embed