зеркало из https://github.com/mozilla/gecko-dev.git
44 строки
1.0 KiB
Plaintext
44 строки
1.0 KiB
Plaintext
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.
|
|
|
|
|
|
|