gecko-dev/java/plugins/examples/MediaPlayer
idk%eng.sun.com fe0870f4df bugId 17316
Added 4 demo pluglets
a = laa@sparc.spb.su
r = idk@eng.sun.com
1999-10-27 09:10:36 +00:00
..
JMPlayer.java bugId 17316 1999-10-27 09:10:36 +00:00
makefile.win bugId 17316 1999-10-27 09:10:36 +00:00
manifest bugId 17316 1999-10-27 09:10:36 +00:00
play.html bugId 17316 1999-10-27 09:10:36 +00:00
README bugId 17316 1999-10-27 09:10:36 +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.