Skip to content
matthewcm.dev

    ↑ ↓ move · ↵ open · tab scopeopen graph →

    Smart TV Apps on Low-End Devices

    Case study — building a broadcaster's streaming app for many TV platforms at Accedo. Memory and performance work for slow devices, a clear, agreed back-navigation model, a full rebrand, and a knowledge-sharing culture.

    Growingcase studytended planted 2 min read
    On this page

    Context

    At Accedo I was an HTML5 TV developer on the My5 connected-TV app for Channel 5, delivered to a range of TV platforms. A TV app is a web app with unusual constraints: a remote control instead of a mouse, a ten-foot interface, and hardware that can be many years old with very little memory and a slow CPU.

    Problem

    Three problems kept coming back:

    • Slow devices. What felt instant on a recent TV stuttered on an older one. Image-heavy rails, big navigation stacks and eager data loading all cost memory the device didn’t have.
    • Back navigation. On a TV, the back button is the navigation model, and as a web app every page opened adds to the history stack. The behaviour needed one clear, agreed definition of what “back” should do.
    • A full rebrand, touching almost every screen, without destabilising the app.

    What I did

    • Optimised memory and performance for slower devices. Kept navigation stacks shallow, deferred and lazily loaded off-screen content, and questioned one-size-fits-all workarounds. One example: a fixed delay added to protect slow devices was making fast ones feel laggy too, so the right fix was per-platform tuning rather than penalising every device for the slowest.
    • Designed explicit history-stack rules. The scope was large and the deadline short. The goal was simple to state: a viewer can always get back to Home in under three presses of back, even though, as a web app, every season and episode opened added to the history stack. The rules: Home always at the bottom; pages one level deep; a show replaces a show; episodes are leaves. I drew the exact behaviour together with the product manager, instead of each of us assuming (them the technical side, me the best UX), then ran sessions with the automation testers and the client to agree it before writing code. Because the rules were so clear, I wrote the test cases first and then rewrote large parts of the navigation against them, so the solution was proven as soon as it landed (TDD as a Feedback Loop).
    • Refactored the video player from class components to function components and hooks. That surfaced subtle ordering changes in state updates (and some dead code), which tests then pinned down.
    • Delivered the rebrand of the connected-TV app.
    • Grew a knowledge-sharing culture: weekly in-office developer sessions, pair programming, structured pull requests and review feedback, a testing workshop, and mentoring newer developers.

    Outcome

    As on the CV: optimised memory and performance on slower devices, major performance improvements to key functionality, a full rebrand delivered, and better developer processes, including pair programming and structured code review. The back-journey work gave everyone, from testers to the client, one shared definition of how navigation behaves.

    What I’d do again

    • Agree behaviour with diagrams before code. Navigation arguments vanish when everyone’s looking at the same picture.
    • Profile on the worst device you support. Your laptop lies.
    • Don’t make fast devices pay for slow ones. Per-platform tuning beats a global worst case.

    What I’d do differently

    Set up automated performance budgets per platform (memory, time-to-interactive on key screens) early, so regressions showed up in CI rather than in testing on real hardware weeks later.

    Pair Programming · SLA vs SLO vs SLI · React Testing Strategy · Architecture Decision Records

    • #smart-tv
    • #performance
    • #ott
    • #focus-management
    • #case-study

    Nothing links here yet — it’s a fresh shoot.

    ↪ Links to (5)