Upgrade to Pro — share decks privately, control downloads, hide ads and more …

BucksCoJS: Building Set-top-box Apps using Angu...

Avatar for Jason Krol Jason Krol
October 05, 2016

BucksCoJS: Building Set-top-box Apps using AngularJS

Avatar for Jason Krol

Jason Krol

October 05, 2016
Tweet

Other Decks in Programming

Transcript

  1. Interface / UX • No mouse: manual cursor handling •

    Device specific remote/controller icons • TV Interface bleed • Resolution support (480p, 720p, 1080p, 4K, 10K?!) • Larger Text (10 feet rule) • OSK (On-screen Keyboards/No keyboards)
  2. Video Support • HTML5 vs Native ◦ video.js FTW! •

    DRM support • Custom chrome • Ad support
  3. Hosting & Deployment • Continuous Deployment to AWS S3 bucket

    • TDD with 100% coverage • GitHub w/ feature branches • Grunt tasks, make commands • Travis safety checks • Jenkins 1-button promote to Prod • Device version checking due to caching • Hosted apps vs bundled packages
  4. Build & Submission Process • Each device has unique build

    tools • MS Windows requirements?! • Submission/QA can be nice or horrible • LG is the worst! • Amazon is the best! • Sony is great, but tools are really painful • Xbox One UWP
  5. • platform.js: isolated API handling & business logic • ott-common.js:

    reusable business/ux logic for OTT • video-player.js: isolated standalone video player • ott_seed Repo: quickly and easily fork for new properties
  6. Gotchas! • Weird SDKs • General performance issues • Debugging

    • Touch support?! • Mouse support?! • Shortcode login! • Offline checks/handlers • DRM support?!
  7. Start your own app! • Obtain a FireTV (stick or

    box) • Install Web App Tester app • Create index.html • Use Microsoft TV Helpers libraries: ◦ https://github.com/Microsoft/TVHelpers/tree/master/tvjs • Point Web App Tester to website • Iterate! ◦ Best to start with a single device ◦ Additional device support once established ◦ Test, test, test!!