PR: #774: feat(agents): inline intro videos on cast tiles — Zoya first [Story-3278] by @ankitmaheshwari-com
View PR →

Files changed

9 file(s), +73 / -14 lines

Path Role + -
messages/en.jsonConfig+3-2
messages/hi.jsonConfig+3-2
public/agent-videos/zoya-intro-poster.jpgSourcebinbin
public/agent-videos/zoya-intro.mp4Sourcebinbin
src/app/[locale]/(workspace)/agents/page.tsxApp route+3-0
src/components/agents/cast/cast-card.tsxComponent+46-10
src/components/agents/cast/cast-fixtures.tsComponent+3-0
src/components/agents/cast/cast-grid-page.stories.tsxComponent+10-0
src/components/agents/cast/personas.tsComponent+5-0

Story-3278 — Agent intro videos on the cast listing (Zoya first)

Each cast tile's media block can now play the agent's intro video inline. Zoya ships first: 26s web encode (3.6MB H.264 Main, faststart) + colour poster frame served from public/agent-videos/.

  1. Open /agents → Zoya's tile shows her colour video poster with the play chip; tiles without videos are unchanged (still art / avatar fallback).
  2. Click play (aria-label localized en+hi: AgentsCast.playIntro) → inline <video autoPlay controls> replaces the poster.
  3. Persona wiring: videoSrc/videoPosterSrc on CAST_PERSONAS — the remaining cast videos are a two-line drop each.

Storybook: Agents/CastGridPage → "Zoya intro video (click play)". Deviation note: binaries in public/ accepted by the founder for speed; migration to the S3 media rail stays tracked under pramaan-spec #3149.