विवरण
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
स्क्रिनसटहरू
स्थापना
Please refer to the description for requirements and how to use this plugin.
- Copy the entire directory from the downloaded zip file into the /wp-content/plugins/ folder.
- Activate the “JJ SwfObject” plugin in the Plugin Management page.
- 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” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“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.