-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Labels
dev readyIndicates issue ready for implementationIndicates issue ready for implementationenhancementNew feature or requestNew feature or requestwipWork In ProgressWork In Progress
Description
Request Overview
We need a reusable YouTube component for our MDX content system. This would allow content creators to easily embed YouTube videos in blog posts, tutorials, and documentation with consistent styling and optimal performance.
The Current Challenge
Right now, embedding YouTube videos requires manual iframe code or inconsistent methods. This leads to:
- Performance issues from loading YouTube's player immediately
- Inconsistent styling across content
- No lazy loading capabilities
- Privacy concerns with cookies
What We're Looking For
A component that supports:
- Simple syntax like
<YouTube id="video-id" />
- Responsive design that works on all devices
- Lazy loading with thumbnail preview
- Privacy-enhanced mode option
- Custom start/end times
- TypeScript support
Example Usage We'd Like
<YouTube
id="dQw4w9WgXcQ"
title="Video Title"
startTime={30}
aspectRatio="16:9"
privacyMode={true}
/>
Requested by
DevRel team
Metadata
Metadata
Assignees
Labels
dev readyIndicates issue ready for implementationIndicates issue ready for implementationenhancementNew feature or requestNew feature or requestwipWork In ProgressWork In Progress