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.
A number of requirements must be met by the system used in this tutorial. These requirements are summarized in the subsections below.
The tutorial requires the KreaTV toolchain to be installed on the Linux workstation. In order to compile for the host PC in the first step, the c++ compiler must be set up correctly. For more information, please refer to Using the KreaTV Toolchain
The Software Development Kit is based on the %ENV:BSG_BUILD_VERSION% release of the KreaTV TV Application Platform.
The set-top box used for running the application must be supported by the KreaTV TV Application Platform. For details, see the documentation provided with the platform.
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.
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.