How adlai.tv works

  1. Video is uploaded to bunny.net stream. Bunny assigns each video a randomly generated video ID.
  2. This small JavaScript app is deployed with adlai.party JServer.
  3. Vercel has been set up to capture the route adlai.tv/ID, and display that ID's video with all the required metadata so the preview works correctly when sent in iMessage.
  4. A JSON config file allows for 'shortcodes' so that adlai.tv/shortcode can be used instead of the full video ID.