NPRuntime Graphical Plug-in Tutorial

Overview

Plugins (or plug-ins) are shared libraries that users can install to display content that the application itself can't display natively. For more information, please visit Mozilla's plugin website.

NPRuntime Graphical Plug-in is KreaTV's platform-independent plug-in support for the Portal Applications. The purpose of this tutorial is to provide detailed instructions on how to develop your own NPRuntime graphical plug-in, including APIs. The plug-in can be used either in the HTML Portal Application, or in the SVG Portal Application.

Prerequisites

A number of requirements must be met by the system used in this tutorial. These requirements are summarized in the subsections below.

Plug-in Development Overview

Before you start your plug-in development, please take time to do some planning and decide on the services you want the plug-in software to provide and how it will interact with the Portal Application and the special media for which the plug-in is created.

A basic overview of the plug-in development process is given in the following steps.

A general guideline for plug-in coding is also available for your reference.

Introduction on How to Support the Plug-in in HTML and SVG Portal

This section is intended to introduce how to use npruntime graphical plug-in in both HTML and SVG portal. At the same time, some samples are provided for your guidance. For more information please refer to Using Plug-in in Portal.