{"library":"smarttv-framework","title":"SmartTV Framework","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install smarttv-framework"],"cli":null},"imports":["import SmartTVFramework from 'smarttv-framework'","import SmartTVFramework from 'smarttv-framework';\nconst device = new SmartTVFramework.Device(config)","import SmartTVFramework from 'smarttv-framework';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import SmartTVFramework from 'smarttv-framework';\n\nconst config = {\n  width: '100%',\n  height: '100%',\n  debug: true,\n  videoPlayerId: 'test-video',\n  vastOptions: {\n    media_type: 'video/mp4',\n    media_bitrate_min: 200,\n    media_bitrate_max: 1200,\n    ad_caption: 'Advertisement'\n  },\n  DRM: {\n    playReady: {\n      mimeType: 'application/vnd.ms-playready.initiator+xml',\n      DRMSystemID: '',\n      licenserUrl: ''\n    }\n  },\n  appId: ''\n};\n\nconst SmartTVDevice = new SmartTVFramework.Device(config);\n\nSmartTVDevice.init();","lang":"javascript","description":"Shows how to import the framework, configure device options (including VAST and DRM), and initialize a SmartTV device instance.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}