About this plugin
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.
Requirements
It require Javascript enabled, php 4 (not sure).
You can also visit Plugin Page
Options description
or visit Plugin Page
swf
Define default settings to the option page. Default folder is the basis for relative url. com/wp-content/uploads/2011/09/”
swf”.
= ShortCode Simple use=
swf”]
swf”]
swf”]
swf”]
swf”]
com/wp-content/, 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.
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:
swf” id=”monSwfId” class=”swfClassEmbed”]
3/ You can specify the minimm flash player version by the “minfp” parameter:
0″]
0
FlashVar
swf” flashvar=”name1=value1&name2:value2|name4=value4″]
Advanced Settings
1/ Changing Attributes
swf” attributes=”name1=value1&name2:value2|name3=value3,name4=value4″]
for example, to change the alignment of the object:
swf” attributes=”align:left”]
2/ Changing parameters
For example for a transparent swf (we play on the wmode) and scripts access modification:
swf” params=”wmode:transparent&allowscriptaccess=always”]
In short, you can edit all the usual parameters.