From XiphWiki
Revision as of 00:59, 18 June 2007 by Laser13 (talk | contribs) (Linux)
Jump to: navigation, search


OggPlay is a library designed to allow drop-in playback of Xiph.Org media in an application. OggPlay handles demuxing and decoding, generates timestamps for raw data, maintains synchronisation across multiple streams, and provides a lock-free buffer implementation for easy multithreading.

An example use of OggPlay library is OggPlay Mozilla Firefox plugin demonstrating how the library can be used to provide Ogg playback in a web browser. OggPlay plugin is implemented through Mozilla NPAPI. The target platforms for the plugin are: Linux/UNIX, Win200x/XP/Vista and MACOSX. The libary as much as the plugin are open source under triple MPL/GPL/LGPL license. For more details about Mozilla licesing refer to Mozilla Code Licensing.

OggPlay is a work in progress: the first release should be availably by mid-2007.

OggPlay is located on Annodex, which has been moved in March over to the Xiph.Org servers. SVN access to the source code is available through http://svn.annodex.net/liboggplay/trunk.

Developer's Guide


For instructions how to compile and install Linux version of OggPlay Mozilla plugin refer to Linux Developement and Intallation Guide.


The Win32 version of the plugin has been developed and tested on Win200x/XP platforms.

For detailed instructions how to setup Mozilla plugin development environment and start hacking on Win32 version of OggPlay Mozilla Firefox plugin go to:
Win32 Development Envrionment Setup
The same link provides links to the plugin binaries and instructions how to install and test Oggplay Mozilla plugin.


Plugin Javascript API

View the draft OggPlay plugin Javascript API