The WP-Flash & Ruffle plugin allows you to easily insert Adobe Flash animation into WordPress blog posts and pages. The plugin supports both Adobe Flash Player and Ruffle Flash Player emulator.
Use the following shortcode to insert Adobe Flash animation into your posts and pages:
[swf:url width height bgcolor wmode]
where:
- url: URL of the flash object (SWF file) you want to embed;
- width: width of the flash object;
- height: height of the flash object;
- bgcolor: background color (optional);
- wmode: wmode, e.g. transparent (optional).
For more information about the above attributes, see this Adobe support page.
Here is an example:
[swf:https://example.com/flash/example.swf 640 480]
I've made the following changes to the original source:
- Ruffle is now loaded from an auto-updating CDN. No need to manually update it anymore.
- The plugin now adds a convenient link to its Settings page onto the WordPress Plugins management page.
- I've removed the banner ad from the Settings page.