Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

WordPress Plugin that allows you to embed Java applets into your posts or pages.

branch: master
README.mkd

Java Applet Embed plugin for WordPress

Description

Allows you to insert Java applets into your Wordpress blog.

If you've ever tried to embed a Java applet in a post or page by inserting your usual <applet> or <object> tags, you would have noticed that WordPress doesn't recognize the tags and the tags disappear. This plugin supports new shortcodes permitting WordPress to recognize and properly render the applets.

You can choose among three possible display modes:

  1. Inline, loaded immediately
  2. Inline, loaded only when the user clicks. This one is great for letting your visitors control whether to load the JVM or not.
  3. Popup window, loaded only when the user clicks

You can reference your JAR archive with any full URL, even on another web site. And you can even upload the JAR into WordPress using the Media Library and then reference the JAR file as you would any other image, video, or audio.

Thanks to the integration of Oracle’s Deployment Toolkit , it works for multiple types of browsers and can offer to download the Java Plug-in (this probably needs more testing) or update it if the required JVM version doesn’t match (this feature hasn’t yet been implemented but it easily could be, if there is demand.)

It is based on the great work done by ahmattox on his WordPress Processing Embed. In fact, it works almost exactly the same way and offers the same features.

For more details, including screenshots, see the plugin's page at wordpress.org.

Contributions

You're welcome to fork this code at https://github.com/huyz/wp-java-applet-embed and request pulls. I'll try to release regularly to http://wordpress.org/extend/plugins/java-applet-embed/.

Feedback

You can post comments on the blog post Easiest way to embed Java in Wordpress.

GPLv2 License

Copyright (C) 2011 Huy Z (http://huyz.us)

Copyright (C) 2010 Anthony Mattox (email : ahmattox@gmail.com)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Something went wrong with that request. Please try again.