dtv-smarttv-framework

SmartTV Framework

Usage no npm install needed!

<script type="module">
  import dtvSmarttvFramework from 'https://cdn.skypack.dev/dtv-smarttv-framework';
</script>

README

SmartTV

Upload

This repository forked by BluPoint-io/smarttv v0.6.12. If you wish to make changes, you must upgrade the current version and publish it from npm. Npm-Repo

Framework

Framework is still under development.

Current version is only designated to use it as a standalone javascript library. But future plans are including write a framework which including a complete smarttv solution with UI and Core. I'll update documentation as soon as possible. If you have any questions regarding how to use or future plans please write us from dev@demirorenteknoloji.com

Usage

import SmartTVFramework from "smarttv-framework";

//Optional
const config = {
  width: '100%',
  height: '100%',
  debug: true,
  videoPlayerId: 'test-video',
  vastOptions: {
    media_type : 'video/mp4',
    media_bitrate_min : 200,
    media_bitrate_max : 1200,
    ad_caption: 'Advertisement'
  },
  DRM: {
    playReady: {
      mimeType: 'application/vnd.ms-playready.initiator+xml',
      DRMSystemID: '',
      licenserUrl: ''
    }
  },
  appId: ''
}

const SmartTVDevice = new SmartTVFramework.Device(config);