edburns%acm.org 1879d39cea Add new first argument to PlugletFactory.initialize(): the string that
is the path to the jar from which the pluglet is loaded.

SECTION: Changes

M classes/org/mozilla/pluglet/PlugletFactory.java
M classes/org/mozilla/pluglet/PlugletFactoryAdaptor.java

- Add new first argument to PlugletFactory.initialize(): the string that
  is the path to the jar from which the pluglet is loaded.

M examples/MediaPlayer/JMPlayer.java
M test/test.java

- Account for new first argument

M src/PlugletFactory.cpp

- new JNI signature for initialize.


git-svn-id: svn://10.0.0.236/trunk@215304 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 01:11:42 +00:00
..
2006-10-23 05:18:19 +00:00
2006-10-23 05:18:19 +00:00
2006-11-02 18:57:52 +00:00

MediaPlayer Pluglet Example.
================================

This directory contains the source code for MediaPlayer pluglet example.
Pluglet is using Java Media Frameworks 2.0b MediaPlayer bean.

========================================================================
Win32 Build Directions:
========================================================================
Requirements:

* built latest mozilla tree for WinNT4.0

* JDK1.3

* built Java-Implemented Plugins.

* JMF2.0b installed.

How To Build:

* add jmf.jar to classpath

* type "nmake /f makefile.win"


How to Run:

* Follow the directions in ..\..\README

* Add jmf.jar to classpath

* Set PLUGLET environment to the directory you have JMPlayer.jar

* Run mozilla and load page play.html from this directory and you will see
  sample avi file. (In addition you need to download some avi file and 
  name it test.avi.)

Warning: JMF MediaPlayer does not support all the video formats so you can
see some errors from player when loading unsupported format file.