Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Netscape Plugin
Application Programming Interface (NPAPI) is a cross-platform plugin
architecture used by many web browsers. It was first developed for the
Netscape family of browsers starting with Netscape Navigator 2.0 but was
subsequently implemented by many other browsers, including all of the
browsers most commonly used today (although Internet Explorer has now
ceased supporting it). Its success can be partly attributed to its
simplicity. A plugin declares that it handles certain content types
(e.g. "audio/mp3") through exposed file information. When the browser
encounters such content type it loads the associated plugin, sets aside
the space within the browser content for the plugin to render itself and
then streams data to it. The plugin is then responsible for rendering
the data as it sees fit, be it visual, audio or otherwise. So a plugin
runs in-place within the page, as opposed to older browsers that had to
launch an external application to handle unknown content types.