OggPlay/Linux

From XiphWiki
Jump to navigation Jump to search

Linux OggPlay Mozilla Firefox plugin installation

1. It is assumed that you managed to check out current sources of the plugin from http://svn.annodex.net/browser_plugin/trunk tree as well as lib liboggplay lib from http://svn.annodex.net/liboggplay/trunk tree (e.g. svn co http://svn.annodex.net/browser_plugin/trunk ./browser_plugin and svn co http://svn.annodex.net/liboggplay/trunk ./liboggplay). The rest of the installation steps assume that you checked out the code to the ./liboggplay and ./browser_plugins directories.

Note that you also need the gecko-sdk from http://developer.mozilla.org.

2. To compile liboggplay, in the main 'liboggplay' directory do:

./autogen.sh
./configure
make; make install

3. To compile the browser plugin, in the main 'browser_plugin' directory do:

./autogen.sh
./configure
make; make install

4. After a sucessful build you should have the following files:

browser_plugin/src/.libs/libnpoggplugin.so
browser_plugin/src/npliboggplugin.xpt

Copy those file to .mozilla/plugins in your local directory by executing copy-plugin.sh or directly copying them e.g.

cd browser_plugin
cp src/.libs/libnpoggplugin.so $HOME/.mozilla/plugins
cp src/npliboggplugin.xpt $HOME/.mozilla/plugins

5. The 'browser_plugin' directory also has a test html page you can use to test the plugin (see ./browser_plugin/test/test.html). Alternatively, you can go to: http://media.annodex.net/cmmlwiki/SFD2005-Trailer to test the plugin.

If you can see the video playing using either method the plugin is successfully installed. The plugin prerequisited as well as detailed instructions how to compile and install plugin on Linux can be found in the README file located in root directory of ./liboggplay library. Enjoy!