Files
formbricks-formbricks/apps/docs/components/ResponsiveVideo.tsx
Piyush Gupta 6a691e2b68 sync with main
2024-10-01 19:17:33 +05:30

18 lines
581 B
TypeScript

// ResponsiveVideo.tsx
export const ResponsiveVideo = ({ src, title }) => {
return (
<div className="max-w-[1280px]">
<div className="relative w-full overflow-hidden pt-[56.25%]">
<iframe
src={src}
title={title}
frameBorder="0"
className="absolute left-0 top-0 h-full w-full"
referrerPolicy="strict-origin-when-cross-origin"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowFullScreen></iframe>
</div>
</div>
);
};