mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
fe0870f4df
Added 4 demo pluglets a = laa@sparc.spb.su r = idk@eng.sun.com |
||
---|---|---|
.. | ||
JMPlayer.java | ||
makefile.win | ||
manifest | ||
play.html | ||
README |
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.