Opis
This plugin enables inserting flash content into WordPress posts and pages with shortcode. The resulting embedded Flash implements the SWFObject library for XHTML compliance and cross-browser compatibility.
Značajke
- Easy install
- Upload and embed Flash media using WordPress’s native media tools
- Insert Flash objects with simple short code
- Supports all Flash param options including flashvars, wmode and allowFullscreen
- Granular level of control allows easy overriding of default options
- Generates
<object>
code for RSS compatibility - Can embed objects dynamically using javascript or statically
- Uses SWFObject 2.2 for greater browser support
- HTML5 compliant, allowing enhanced alt content for browsers without Flash plugin
Insert Flash content into a post or page using the Flash media button, or simple shortcode:
[swfobj src="movie.swf"]
[swfobj src="movie.swf" height="250" width="400"]
For more information visit the plugin website
Implementation
Click on the Flash media button above a post to upload and embed Flash media in your current post or page. When inserting a Flash object, the necessary shortcode is automatically inserted into the post editor. Additionally, you can manually create and edit swfobj shortcode.
The following attributes are available for use in the swfobj shortcode. If an attribute is not included, the default value is used if available. Otherwise the attribute is simply not included in the embedded content. To modify attributes, go to the Settings > SwfObj
page.
Main Attributes
- src (required) The URL of your swf
- height The height of your object. Default is 400px.
- width The width of your object. Default is 300px.
- alt Alternative content to display.
- id The id to use on the object.
- name The name to use on the object.
- class The class name to use on the object.
- align The alignment of the object.
- required_player_version The minimum Flash player required to play the object. Default is 8.0.0
- express_install_swf The swf to replace the object with if the viewer doesn’t have the minimum Flash player installed.
- getvars GET variables to be appended to the .swf file in the src attribute.
Examples
[swfobj src="movie.swf"]
[swfobj src="movie.swf" height="250" width="400"]
Additional Attributes
Additionally, the following Flash specific parameters can be set.
- play
- loop
- menu
- quality
- scale
- salign
- wmode
- bgcolor
- base
- swliveconnect
- flashvars
- devicefont
- allowscriptaccess
- seamlesstabbing
- allowfullscreen
- allownetworking
- dynamic_embed
- callbackFn
For more detailed instructions, visit the plugin website
Version History
Version 1.0.2
- Fixed a bug in plugin activation
- No longer using deprecated __ngettext_noop()
Version 1.0.1
- Changed how alt content is embedded, fixing various errors users were experiencing
- swfobject.js is loaded via wp_equeue_script
- uses built in version of swfobject.js in WordPress 3.0+
- Plugin now works with SSL installations of WordPress
- Can embed both static and dynamic content on the same page
Version 0.9.2
- Added dynamic embedding option.
Version 0.9.1
- Merged with “Flash Shorttags” plugin.
Version 0.9
- allowscriptaccess bug fix
Version 0.8
- Updated swfobject to version 2.2
- Fixed compatibility issues for WP version 2.8
Version 0.7
- Updated for WordPress 2.7
Version 0.6
- Various bug fixes
Version 0.5
- Updated to swfobject version 2.1
Version 0.4
- Added support for all available Flash parameters.
Version 0.3
- Better support of auto-generated shortcode from the media library.
- Advanced embedding options available in media library popup.
Version 0.2
- Flash media button allows uploading and inserting Flash media into posts and pages
- Flash media tab in the WordPress media library
- Inserting a Flash object into a post auto generates the proper shortcode.
- Added multiple language support
Version 0.1
- Initial release.
Snimke zaslona
Instalacija
Ovaj odlomak opisuje kako instalirati dodatak i i kako ga natjerati da radi.
- Upload the
swfobj
directory and its contents to the/wp-content/plugins/swfobj/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Set the default options for your embedded objects on the
Settings > SwfObj
page. - Add Flash media using the new Flash media button above the post editor.
- Use the swfobj shortcode in your posts.
For detailed instructions including a list of available attributes, visit the plugin website
ČPP
- Can I use the ___ embed option? How?
-
All Flash embed tags are made available through the SwfObj plugin. Most are set using the identical option in the swfobj embed code. For example, to set wmode to transpart you would use the following shortcode:
[swfobj … wmode=”transparent”]
For more documentation, refer to the plugin website. If you do come across an option that isn’t currently supported, please let me know. - Why isn’t it working? I’m using WP 2.3
-
This plugin uses WordPress’s shortcode API. A feature which was added to WordPress in version 2.5. All versions of WordPress prior to this release, unfortunately, are incompatible with this plugin. Sorry.
Recenzije
Suradnici i Programeri
“SwfObj Plugin: for embedding Flash objects” is open source software. The following people have contributed to this plugin.
Prevedite “SwfObj Plugin: for embedding Flash objects” na svoj jezik.
Zainteresirani ste za razvoj?
Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.