mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-09-01 20:13:19 +02:00
12 lines
No EOL
410 B
Text
12 lines
No EOL
410 B
Text
export const YouTubeEmbed = ({ videoId, title }) => {
|
|
return (
|
|
<iframe
|
|
className="w-full aspect-video rounded-md"
|
|
src={`https://www.youtube.com/embed/${videoId}`}
|
|
title={title}
|
|
frameBorder="0"
|
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
|
allowFullScreen
|
|
/>
|
|
);
|
|
}; |