Skip to content

Add sports-highlight-videos example - #20

Open
soniasriv wants to merge 1 commit into
shotstack:masterfrom
soniasriv:add-sports-highlight-videos
Open

soniasriv wants to merge 1 commit into
shotstack:masterfrom
soniasriv:add-sports-highlight-videos

Conversation

@soniasriv

Copy link
Copy Markdown
Contributor

Companion code for the sports vertical: one highlight video per match from a full recording and a list of goals.

edit.mjs trims a 20 second clip at each goal with trim and joins them with start: "auto" in one render. A scoreboard computed from the goal list shows the running score per clip, a lower third names the scoring team, and opening and closing cards frame the match. The sample uses the recording from the related guide; the team names and result match the broadcast scoreboard in the footage (Ottoville 1-2 Ottawa Hills).

Related guide: https://shotstack.io/learn/automated-sports-highlight-video-api/

Verified: prettier clean; every generated Edit JSON passes shotstack validate; fresh clone with no key, a wrong key and a bad SHOTSTACK_ENV each print one line and exit 1; a rejected key stops the batch after one line; README claims checked against the code; STANDARDS.md pre-PR checklist run; two-axis Standards/Spec review applied; rendered end to end on stage with the ids below. Musab reviewed all four vertical examples in #gtm on 17 Sep and his points are applied.

Stage render (owner m0018rioc2, 18 Sep): ottoville-v-ottawa-hills 3cb027cb-5871-4a13-83b0-0a3344df8ae4, 66 s from the 700 MB source, done about two minutes after submit.

The root README bullet will conflict with the sibling vertical PRs; keep all bullets when resolving.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
reelestate Ignored Ignored Preview Sep 18, 2026 9:07am UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant