Access to IP-STB services

The KreaTV IP-STB supports web standards and JavaScript standards. For portal designers, there is a specific API called TOI/JS which gives portal access to a number of services in the KreaTV IP-STB platform. Through this API, the portal developer can get access to all KreaTV platform services in order to provide control over e.g., video playback and configuration.

In order to access the function, a specific TOI/JS npruntime plugin "application/x-motorola-toi" needs to be loaded into the browser. See following links how to load the plugins in HTML Browser or SVG Browser.

When the TOI/JS plugin has been loaded each platform service accessible from TOI/JS is registered as a property in the global toi object. This provides, for example, toi.mediaService and toi.informationService

Note! Only portal pages can load the TOI/JS plugin. For more information about configuration of portal URLs, see Portal URLs

In the following sections is a description of each service. Detailed information on the API is found in the TOI/JS chapter.