What is NPAvi?

NPAvi is a plugin for Netscape Navigator which displays AVI movie files. NPAvi can be controlled with JavaScript because it is LiveConnected. The plugin is built using a command line makefile, which goes through the entire process of creating the java interfaces and compiling the DLL.

Building and using NPAvi

Win32:

  1. Download the JDK 1.0.2 from JavaSoft, and install it into the c:\java directory.
  2. Using the DOS prompt, cd to the Examples\NPAvi\Source directory.
  3. Enter the following command: "nmake JDK_ROOT=c:\java"
  4. Copy the java class files AviPlayer.class and AviObserver.class to the Navigator plugins directory.
  5. Copy the plugin NPAvi.dll from the objs directory to the Navigator plugins directory.
  6. Quit and relaunch the Navigator, if it is running.
  7. With the Navigator, open the file Examples\NPAvi\Testing\NPAviExample.html.