Hello I would like to use the `LinkPreview` component and for it to show images only, even if `og:video` is available. Unfortunately there is currently no option to achieve that. So here's to ask for it. Thanks in advance!
Activity
delucis commentedon Aug 18, 2025
Hi @jahirfiquitiva — that seems like a fair request. Would you be interested in making a PR?
We’d want to add a prop to https://github.com/delucis/astro-embed/blob/main/packages/astro-embed-link-preview/LinkPreview.astro and then use it when deciding whether to render the video here:
astro-embed/packages/astro-embed-link-preview/LinkPreview.astro
Lines 38 to 42 in e5fa7e3