JavaScript framework for building smart TV applications. Version 0.6.30 is under active development and currently usable as a standalone library. Provides device abstraction, configuration for video players, VAST ad options, DRM (PlayReady), and app ID management. Differentiates by focusing on smart TV environments with built-in support for VAST ads and multiple DRM systems. Still early-stage with limited documentation and no stable release schedule.
npm install smarttv-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import the framework, configure device options (including VAST and DRM), and initialize a SmartTV device instance.
Always provide config with all mandatory fields (width, height, videoPlayerId).
Use 'systemId' instead of 'DRMSystemID' if available, or check documentation.
Use import syntax and set type: 'module' in package.json or use .mjs extension.
Add declare module 'smarttv-framework' in .d.ts file.
Add "type": "module" to package.json or rename file to .mjs.
Use import SmartTVFramework from 'smarttv-framework' and then new SmartTVFramework.Device(config).
Ensure config object includes required properties like 'videoPlayerId' and 'width'/'height'.
No dependency data recorded yet.