Testing YouTube Embeds
test
YouTube Component Test
This is a test post to showcase the YouTube component working in Astro MDX.
First Video Example
Here’s a relaxing nature video:
Why This Matters
Being able to embed videos directly in blog posts makes content more engaging and interactive. The component is:
- Fully responsive (works on all screen sizes)
- Privacy-focused (uses youtube-nocookie.com)
- Clean and minimal design
- Easy to use - just drop in the video ID
How to Use
Simply add this to any MDX file:
<YouTube videoId="YOUR_VIDEO_ID" />
That’s it! The component handles all the styling and responsiveness automatically.