Usage

Before using JWMP Plugin make sure you have few things which are reguired:

  1. You need to have the latest version of WordPress software
  2. You need to use standard-compliant browser (Opera is O.K but Opera sometimes in interaction with WordPress may delete you JWMP Tag — so if you get into a problem like that, try different browser; please, do not ask why)
  3. You need the latest Flush Player Plugin from Adobe — you know that
  4. You need to obtain SWFObject2, upload it to your server and tell the plugin where it is (path_to_your_swfobject.js)… more about it later
  5. You need to obtain JW FLV Media Player, upload it to your server and tell plugin where it is (path_to_your_mediaplayer.swf)… more about it later

The basic plugin action is just one JavaScript function from SWFObject2 and it is: embedSWF — “Static Publishing Method”:

swfobject.embedSWF(mediaplayer, "", width, height, version);

So, in your JWMP Settings page you have to provide those attributes…

Provide URI to your mediaplayer.swf:
<!--JWMP
mediaplayer=path_to_your_mediaplayer.swf
---->

If no other plugin uses SWFObject2 (if library is not already loaded) you need to provide URI to your swfobject.js:
<!--JWMP
swfobject=path_to_your_swfobject.js
---->
(that instuction may be optional, it depends on your configuration).

You need to setup a deafault value for the width of you media objects:
<!--JWMP
width=200
---->

You need to setup a deafault value for the height of you media objects:
<!--JWMP
height=170
---->

You need to provide a minum number for the Flash Player Plugin version:
<!--JWMP
version=9.0.0
---->
and that number must have at least one [. dot]!

NOTE: If you do not have just one of these requirements you will get JavaScript error and your code will stop the execution.

Another optional instruction is:
<!--JWMP
installer=path_to_your_expressInstall.swf
---->

if you use that instruction in your deafults, on each object creation, SWFObject2 will run Adobe Express Install to see if the correct Flash Player Plugin is installed in user browser. That may be too much for the page. On some platforms that method is not supported and browser may crash. So, think again before implementing that instruction in your default codes. If you have problems with that, please, refer to SWFObject2 documentation.

There are few more attributes that swfobject.embedSWF() uses but they will be generated from your instructions and provided to SWFObject2 by the JWMP Plugin itself.

Please, note: that is all for the plugin and we provide support only for that. The rest is functionality of the required software and support for it is provided by creators of the software in question.

For problems with WordPress and posts you need to look at the WordPress Help and online documentation, and so on…

But we will make a separate page in this blog for each of them just to help you get started.

Leave a Comment