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.

JJ SwfObject

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

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.

Requires: 2.8 or higher
Compatible up to: 3.1.4
Last Updated: 2011-2-15
Active Installs: 1,000+

Ratings

5 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.

100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1