Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

JJ SwfObject


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

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 (
  • JJ NextGen JQuery Carousel (
  • JJ NextGen JQuery Cycle (
  • JJ NextGen Unload (
  • JJ NextGen Image List (



  • Widget controls.


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.



  • How can I upload swf files using wordpress Media?


  • 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;
    add_filter(‘upload_mimes’, ‘add_my_mime_types’);


  • How can I use plugin inside normal PHP code?


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


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


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


No hay reseñas para este plugin.

Colaboradores y desarrolladores

«JJ SwfObject» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «JJ SwfObject» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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