@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

next
tsx 21 lines 584 Bytes
Raw
1 interface YouTubeProps {
2 id: string;
3 title?: string;
4 }
5
6 export function YouTube({ id, title = 'YouTube video' }: YouTubeProps) {
7 return (
8 <div className="aspect-video w-full overflow-hidden rounded-lg bg-muted">
9 <iframe
10 className="h-full w-full border-0"
11 src={`https://www.youtube.com/embed/${id}`}
12 title={title}
13 width={560}
14 height={315}
15 loading="lazy"
16 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
17 allowFullScreen
18 />
19 </div>
20 );
21 }