Demo Handy SDK demo: what we decided so far

A mock partner site ("Flickbox") running the new, simpler Handy SDK. Everything is mocked: the Handy servers, the phone link and the device, so it runs with no backend and no Handy. Try it as a new visitor first, then use the DEMO button (bottom right) to switch visitor states, versions and partner options.

The integration

  • One script tag with the partner's app ID. The SDK then reads a feed (a static file on a CDN) of which videos have a script, and whether it is an AI or a human script.
  • Everything the SDK draws uses the Handy kit from brand-ux, in shadow DOM, so it looks the same on every partner site and the partner's CSS can't break it.
  • Partners can tune a few things (theme, badges, who sees the pill, whether AI and human scripts are named). The DEMO panel shows each option and the script tag it gives.

Staying out of the way

  • Handy owners are a small part of a partner's visitors, so the SDK is quiet by default. No Handy button in the header.
  • The partner adds an "Interactive" tab of their own. That page has a Handy banner on top (a placeholder for a video that explains the product) and the videos that have scripts.
  • A scripted video gets a small pill in its corner: "This video can move with The Handy". It fades out while the video plays. Once connected it just says "Connected" or "Playing in sync".
  • When connected, a video with no script says "No script for this video yet", and one press requests a script for it.
  • Thumbnails get a small Handy badge, for Handy users only.

The modal

  • One modal, the same on every site, with The Handy's logo on top.
  • Connect by scanning a QR code with the phone (the Handyverse app must be installed). On a phone it is a button that opens the Handyverse app instead. The connection key is the fallback. There is no Handy account.
  • A placeholder ad explains The Handy to the curious ("Get 20% off today.").
  • Connected: firmware, connection key and timing, the sync offset and stroke zone sliders, a link to Handyverse, and a More menu with Advanced, Resync and Disconnect. No Stop button: pausing the video stops The Handy.
  • Advanced is a page inside the modal with a Labs section. Lars, that one is yours to fill.

Server load

  • A new visitor costs the Handy servers nothing: no calls on page load or while browsing.
  • A visitor with a saved key or phone link connects by itself on page load (5 calls).
  • The clock sync is kept in the browser for 3 hours and the feed for 6 hours, so the servers aren't asked again on every page.

Still open

  • The phone link API (code, wait, token) and what the Handyverse app does with the link.
  • Who builds the feed and where it is hosted. Whether the app ID replaces the API key.
  • The real Handyverse address, the banner video and the ad.

The full flow, the request budget and the Handyverse code it comes from are in the README.

New this week

Fresh from the studios.

Nine new videos from Grid Studio, Golden Hour and Flickbox Originals.

All videos