mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-22 19:39:01 -05:00
60f7103198
* revert to last working version * add updated ui components * update formbricks-com components * apply prettier formatting * update apps/web files
19 lines
551 B
TypeScript
19 lines
551 B
TypeScript
interface ResponsiveVideoProps {
|
|
src: string;
|
|
title?: string;
|
|
}
|
|
|
|
export const ResponsiveVideo: React.FC<ResponsiveVideoProps> = ({ src, title }: ResponsiveVideoProps) => {
|
|
return (
|
|
<div className="relative" style={{ paddingTop: "56.25%" }}>
|
|
<iframe
|
|
className="absolute left-0 top-0 h-full w-full rounded"
|
|
src={src}
|
|
title={title}
|
|
frameBorder="0"
|
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
|
allowFullScreen></iframe>
|
|
</div>
|
|
);
|
|
};
|