Implementation
Click on the Flash media button above a post to upload and embed Flash media in your current post or page. When inserting a Flash object, the necessary shortcode is automatically inserted into the post editor. Additionally, you can manually create and edit swfobj shortcode.
The following attributes are available for use in the swfobj shortcode. If an attribute is not included, the default value is used if available. Otherwise the attribute is simply not included in the embedded content. To modify attributes, go to the Settings > SwfObj page.
Main Attributes
- src (required) The URL of your swf
- height The height of your object. Default is 400px.
- width The width of your object. Default is 300px.
- alt Alternative content to display.
- id The id to use on the object.
- name The name to use on the object.
- class The class name to use on the object.
- align The alignment of the object.
- required_player_version The minimum Flash player required to play the object. Default is 8.0.0
- express_install_swf The swf to replace the object with if the viewer doesn't have the minimum Flash player installed.
- getvars GET variables to be appended to the .swf file in the src attribute.
Examples
[swfobj src="movie.swf"]
[swfobj src="movie.swf" height="250" width="400"]
Additional Attributes
Additionally, the following Flash specific parameters can be set.
- play
- loop
- menu
- quality
- scale
- salign
- wmode
- bgcolor
- base
- swliveconnect
- flashvars
- devicefont
- allowscriptaccess
- seamlesstabbing
- allowfullscreen
- allownetworking
For more detailed instructions, visit the plugin website
Version History
Version 0.9
- allowscriptaccess bug fix
Version 0.8
- Updated swfobject to version 2.2
- Fixed compatibility issues for WP version 2.8
Version 0.7
- Updated for WordPress 2.7
Version 0.6
Version 0.5
- Updated to swfobject version 2.1
Version 0.4
- Added support for all available Flash parameters.
Version 0.3
- Better support of auto-generated shortcode from the media library.
- Advanced embedding options available in media library popup.
Version 0.2
- Flash media button allows uploading and inserting Flash media into posts and pages
- Flash media tab in the WordPress media library
- Inserting a Flash object into a post auto generates the proper shortcode.
- Added multiple language support
Version 0.1