WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

SwfObj Plugin: for embedding Flash objects

Insert Flash content into WordPress using shortcodes.

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
  • dynamic_embed
  • callbackFn

For more detailed instructions, visit the plugin website

Version History

Version 1.0.2

  • Fixed a bug in plugin activation
  • No longer using deprecated __ngettext_noop()

Version 1.0.1

  • Changed how alt content is embedded, fixing various errors users were experiencing
  • swfobject.js is loaded via wp_equeue_script
  • uses built in version of swfobject.js in WordPress 3.0+
  • Plugin now works with SSL installations of WordPress
  • Can embed both static and dynamic content on the same page

Version 0.9.2

  • Added dynamic embedding option.

Version 0.9.1

  • Merged with "Flash Shorttags" plugin.

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

  • Various bug fixes

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

  • Initial release.

Requires: 2.5 or higher
Compatible up to: 3.0.5
Last Updated: 2010-12-17
Downloads: 72,852

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0 100,3,3
82,11,9
100,3,3
0,1,0
100,2,2
100,1,1 100,1,1
100,1,1
100,2,2
100,2,2
50,2,1
100,1,1
100,3,3
0,1,0
50,2,1
100,1,1