Getting Started
Installation
Section titled “Installation”npm install astro-oembedpnpm add astro-oembedyarn add astro-oembedPass any supported URL to the <Oembed> component and it will resolve the provider,
fetch the oEmbed response at build time, and render the appropriate output.
---import { Oembed } from 'astro-oembed';---
<Oembed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ" />import { Oembed } from 'astro-oembed';
<Oembed url="https://www.youtube.com/watch?v=dQw4w9WgXcQ" />See the <Oembed> component reference for the full list of props.