Title: JJ SwfObject
Author: jjcoder
Published: <strong>2011 年 2 月 15 日</strong>
Last modified: 2011 年 3 月 7 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# JJ SwfObject

 由 [jjcoder](https://profiles.wordpress.org/jjcoder/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/jj-swfobject/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/jj-swfobject/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/jj-swfobject/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/jj-swfobject/#developers)

 [技術支援](https://wordpress.org/support/plugin/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. (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

## 螢幕擷圖

 * [[
 * 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.

## 常見問題集

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.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈JJ SwfObject〉的開發相關工作。

參與者

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

[將〈JJ SwfObject〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/jj-swfobject)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/jj-swfobject/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/jj-swfobject/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/jj-swfobject/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/jj-swfobject/)。

## 變更記錄

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

## 中繼資料

 *  版本 **1.0.5**
 *  最後更新 **15 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.1.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/jj-swfobject/)
 * 標籤:
 * [flash](https://tw.wordpress.org/plugins/tags/flash/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
   [swf](https://tw.wordpress.org/plugins/tags/swf/)[swfobject](https://tw.wordpress.org/plugins/tags/swfobject/)
   [widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/jj-swfobject/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/jj-swfobject/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/jj-swfobject/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/jj-swfobject/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.redcross.org.nz/donate)