Title: JJ SwfObject
Author: jjcoder
Published: <strong>fevriye 15, 2011</strong>
Last modified: Mas 7, 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/jj-swfobject.svg)

# JJ SwfObject

 By [jjcoder](https://profiles.wordpress.org/jjcoder/)

[Download](https://downloads.wordpress.org/plugin/jj-swfobject.1.0.5.zip)

 * [Details](https://hat.wordpress.org/plugins/jj-swfobject/#description)
 * [Reviews](https://hat.wordpress.org/plugins/jj-swfobject/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/jj-swfobject/#installation)
 * [Development](https://hat.wordpress.org/plugins/jj-swfobject/#developers)

 [Support](https://wordpress.org/support/plugin/jj-swfobject/)

## Description

Allows you to insert a swf file using a widget or a shortcode.

You can specify the following parameters:

NOTE: sc means shortcode:

 * Title: Title. Leave blank for no title. (sc: title=”My Title”)
 * Alternate Content. Content to display if can’t embed flash. (sc: alt=”Flash required”)
 * HTML id: HTML id to use. Defaults to ‘jj_swfobject’. Needs to be different for
   multiple instances on same page. (sc: html_id=”jj_swfobject”)
 * Path: Rath to swf. (sc: title=””)
 * Width: Width of swf. (sc: width=””)
 * Height: Height of swf. (sc: height=””)
 * Version: Flash version required. Defaults to ‘9.0.0’. (sc: version=””)
 * Flashvars: Fashvars for swf. eg, {name1:”hello”,name2:”world”,name3:”foobar”}(
   sc: flashvars=””)
 * Params: Params for swf. eg, {menu:”false”} (sc: params=””)
 * Attributes: Attributes for swf. eg, {id:”myDynamicContent”,name:”myDynamicContent”}(
   sc: attributes=””)

Check out swfobject documentation for more info. (http://code.google.com/p/swfobject/
wiki/documentation)

Shortcode Examples:

 * [jj-swfobject path=”/mypath” html_id=”banner” width=”200″ height=”200″ version
   =”9.0.0″]

Try out my other plugins:

 * JJ NextGen JQuery Slider (https://wordpress.org/extend/plugins/jj-nextgen-jquery-
   slider/)
 * JJ NextGen JQuery Carousel (https://wordpress.org/extend/plugins/jj-nextgen-jquery-
   carousel/)
 * JJ NextGen JQuery Cycle (https://wordpress.org/extend/plugins/jj-nextgen-jquery-
   cycle/)
 * JJ NextGen Unload (https://wordpress.org/extend/plugins/jj-nextgen-unload/)
 * JJ NextGen Image List (https://wordpress.org/extend/plugins/jj-nextgen-image-
   list/)

### Contributors

## Screenshots

 * [[
 * Widget controls.

## Installation

Please refer to the description for requirements and how to use this plugin.

 1. Copy the entire directory from the downloaded zip file into the /wp-content/plugins/
    folder.
 2. Activate the “JJ SwfObject” plugin in the Plugin Management page.
 3. Refer to the description to use the plugin as a widget and or a shortcode.

## FAQ

Question:

 * How can I upload swf files using wordpress Media?

Answer:

 * Try adding code below to your functions.php file
 * if ( ! function_exists( ‘add_my_mime_types’ ) ) :
    function add_my_mime_types(
   $existing_mimes=array()) { $existing_mimes[‘swf’] = ‘application/x-shockwave-
   flash’; return $existing_mimes; } endif; add_filter(‘upload_mimes’, ‘add_my_mime_types’);

Question:

 * How can I use plugin inside normal PHP code?

Answer:

 * echo do_shortcode(‘[jj-swfobject path=”/mypath” html_id=”banner” width=”200″ 
   height=”200″ version=”9.0.0″]’);

Question:

 * Doesn’t work after upgrade? or Doesn’t work with this theme?

Answer:

 * Please check that you don’t have two versions of jQuery loading, this is the 
   problem most of the time. Sometimes a theme puts in 
    tags at the end of newlines
   aswell.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“JJ SwfObject” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ jjcoder ](https://profiles.wordpress.org/jjcoder/)

[Translate “JJ SwfObject” into your language.](https://translate.wordpress.org/projects/wp-plugins/jj-swfobject)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/jj-swfobject/), check
out the [SVN repository](https://plugins.svn.wordpress.org/jj-swfobject/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/jj-swfobject/) by
[RSS](https://plugins.trac.wordpress.org/log/jj-swfobject/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * 1.0.5: FAQ.
 * 1.0.4: Donate to Christchurch Quake.
 * 1.0.2: Readme.
 * 1.0.1: FAQ.
 * 1.0.0: First version.

## Meta

 *  Version **1.0.5**
 *  Last updated **15 years ago**
 *  Active installations **30+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.1.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/jj-swfobject/)
 * Tags
 * [flash](https://hat.wordpress.org/plugins/tags/flash/)[shortcode](https://hat.wordpress.org/plugins/tags/shortcode/)
   [swf](https://hat.wordpress.org/plugins/tags/swf/)[swfobject](https://hat.wordpress.org/plugins/tags/swfobject/)
   [widget](https://hat.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://hat.wordpress.org/plugins/jj-swfobject/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/jj-swfobject/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/jj-swfobject/reviews/)

## Contributors

 *   [ jjcoder ](https://profiles.wordpress.org/jjcoder/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/jj-swfobject/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.redcross.org.nz/donate)