Skip to content

fix(web): preserve recording dimensions in link previews - #2879

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-embed-preview
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-embed-preview

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

link previews for share and embed pages always said the video was 1280x720, so portrait or odd sized recordings unfurled letterboxed in a 16:9 player on twitter, slack and iframely. the oembed endpoint already used the real size, the page metadata just never got it.

now both pages pass the stored width and height into the existing metadata builder, and it falls back to 1280x720 when they're missing or zero. tests cover portrait, missing and zero sizes.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Share and embed pages now pass stored recording dimensions to the shared metadata builder.

  • Share and embed previews match the recording’s saved dimensions.

Review used source inspection. Tests were not run.

Reviews (1) · Last reviewed commit: "fix(web): preserve recording dimensions ..." · Reviewed by Greptile

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 07:14 Inactive
@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

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

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 22, 2026 12:12pm UTC

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 12:12 Inactive
@richiemcilroy
richiemcilroy merged commit 80fa316 into CapSoftware:main Oct 22, 2026
29 of 30 checks passed

This branch was previously deployed

1 inactive deployment
Preview – cap-status — dcc49b74 Deployed Oct 22, 2026 by vercel[bot]
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.

2 participants