Skip to content

Conversation

@marcodejongh
Copy link
Owner

Change the beta videos section from large single-column previews to a
compact grid layout. Videos now display as small square thumbnails with
username/angle overlays, while the modal click behavior remains unchanged.

Change the beta videos section from large single-column previews to a
compact grid layout. Videos now display as small square thumbnails with
username/angle overlays, while the modal click behavior remains unchanged.
@vercel
Copy link

vercel bot commented Dec 26, 2025

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

Project Deployment Review Updated (UTC)
boardsesh Ready Ready Preview, Comment Dec 26, 2025 5:23am

…views

Replace the heavy Instagram iframe embeds with lightweight thumbnail
images in the grid preview. Falls back to an Instagram icon placeholder
when no thumbnail is available. The modal still shows the full embed.
- Create /api/v1/instagram/oembed endpoint to fetch thumbnails from
  Instagram's oEmbed API with 24-hour caching
- Add BetaThumbnail component that tries stored thumbnail first, then
  falls back to oEmbed API if the stored thumbnail fails to load
- Show placeholder icon during loading and on complete failure
Replace in-memory cache (which doesn't work with Vercel lambdas) with:
- Next.js fetch cache (revalidate: 86400) for upstream requests
- Cache-Control headers for browser/CDN caching
Instagram's public oEmbed API now requires Graph API authentication.
Simplify the component to use stored thumbnails with a clean play button
placeholder when thumbnails are missing or fail to load. The iframe
embeds in the modal don't require authentication and continue to work.
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.

3 participants