mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-27 12:36:24 -04:00
- Add aria-hidden to decorative SVG icons - Add title attributes to iframe embeds (CodePen, Gist, YouTube) - Add aria-labels to comment form textareas - Use proper button element for Markdown help popover trigger - Use proper ellipsis character in placeholders Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
360 B
TypeScript
12 lines
360 B
TypeScript
"use client";
|
|
|
|
import YouTubeEmbed from "react-lite-youtube-embed";
|
|
|
|
// lite-youtube-embed CSS is imported in app/global.css to save a request
|
|
|
|
const YouTube = ({ title = "YouTube video", ...rest }: React.ComponentProps<typeof YouTubeEmbed>) => {
|
|
return <YouTubeEmbed cookie={false} containerElement="div" title={title} {...rest} />;
|
|
};
|
|
|
|
export { YouTube };
|