OggPlay/Linux

From XiphWiki

< OggPlay(Difference between revisions)
Jump to: navigation, search
(update now that the browser plugin is separate from liboggplay)
 
(3 intermediate revisions not shown)
Line 2: Line 2:
1. It is assumed that you managed to check out current sources
1. It is assumed that you managed to check out current sources
-
of the plugin from http://svn.annodex.net/liboggplay/trunk tree  
+
of the plugin from http://svn.annodex.net/browser_plugin/trunk tree
-
(e.g. ''svn co http:\\svn.annodex.net\liboggplay\trunk ./liboggplay'').
+
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 rest of the installation steps assume that you checked out
-
the code to the ''./liboggplay'' directory.  
+
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:
2. To compile liboggplay, in the main 'liboggplay' directory do:
Line 11: Line 15:
''./autogen.sh<br>
''./autogen.sh<br>
./configure<br>
./configure<br>
-
make; make install<br>
+
make; make install''<br>
 +
 
 +
3. To compile the browser plugin, in the main 'browser_plugin' directory do:
 +
 
 +
''./autogen.sh<br>
 +
./configure<br>
 +
make; make install''<br>
-
3. As a result of the checkout you should have a ''plugin'' directory under
+
4. After a sucessful build you should have the following files:
-
the ''liboggplay'' tree. After a sucessful build you should have the following
+
-
files:
+
-
''plugin/.libs/libnpoggplugin.so<br>
+
''browser_plugin/src/.libs/libnpoggplugin.so<br>
-
plugin/npliboggplugin.xpt''<br>
+
browser_plugin/src/npliboggplugin.xpt''<br>
Copy those file to ''.mozilla/plugins'' in your local directory by executing  
Copy those file to ''.mozilla/plugins'' in your local directory by executing  
'''copy-plugin.sh''' or directly copying them e.g.
'''copy-plugin.sh''' or directly copying them e.g.
-
''cd plugin<br>
+
''cd browser_plugin<br>
-
cp .libs/libnpoggplugin.so $HOME/.mozilla/plugins<br>
+
cp src/.libs/libnpoggplugin.so $HOME/.mozilla/plugins<br>
-
cp npliboggplugin.xpt $HOME/.mozilla/plugins''
+
cp src/npliboggplugin.xpt $HOME/.mozilla/plugins''
-
4. The 'plugin' directory also has a test html page you can use to test  
+
5. The 'browser_plugin' directory also has a test html page you can use to test  
-
the plugin (see ''./plugin/test/test.html''). Alternatively, you can go to:
+
the plugin (see ''./browser_plugin/test/test.html''). Alternatively, you can go to:
[http://media.annodex.net/cmmlwiki/SFD2005-Trailer http://media.annodex.net/cmmlwiki/SFD2005-Trailer] to test the plugin.
[http://media.annodex.net/cmmlwiki/SFD2005-Trailer 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  
If you can see the video playing using either method the plugin is successfully  
-
installed. Enjoy!
+
installed. The plugin prerequisited as well as detailed instructions how to compile and install plugin on Linux can be found in the [http://trac.annodex.net/browser/liboggplay/trunk/README README] file located in root directory of ''./liboggplay'' library. Enjoy!

Latest revision as of 12:45, 22 April 2008

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!

Personal tools


Main Page

Xiph.Org Projects

Audio—

Video—

Text—

Container—

Streaming—