| 1 |
|
| 2 |
export function PopupVideo({ closePopup }) { |
| 3 |
const CloseIcon = () => ( |
| 4 |
<svg |
| 5 |
width="25" |
| 6 |
height="24" |
| 7 |
viewBox="0 0 25 24" |
| 8 |
fill="none" |
| 9 |
xmlns="http://www.w3.org/2000/svg" |
| 10 |
> |
| 11 |
<mask |
| 12 |
id="mask0_1382_24431" |
| 13 |
style={{ maskType: 'alpha' }} |
| 14 |
maskUnits="userSpaceOnUse" |
| 15 |
x="0" |
| 16 |
y="0" |
| 17 |
width="25" |
| 18 |
height="24" |
| 19 |
> |
| 20 |
<rect x="0.296875" width="24" height="24" fill="#D9D9D9" /> |
| 21 |
</mask> |
| 22 |
<g mask="url(#mask0_1382_24431)"> |
| 23 |
<path |
| 24 |
d="M6.69687 19L5.29688 17.6L10.8969 12L5.29688 6.4L6.69687 5L12.2969 10.6L17.8969 5L19.2969 6.4L13.6969 12L19.2969 17.6L17.8969 19L12.2969 13.4L6.69687 19Z" |
| 25 |
fill="#475467" |
| 26 |
/> |
| 27 |
</g> |
| 28 |
</svg> |
| 29 |
); |
| 30 |
|
| 31 |
|
| 32 |
return ( |
| 33 |
<> |
| 34 |
<div className="betterdocs-popup-video-content"> |
| 35 |
<button className="betterdocs-popu-close-btn" onClick={closePopup}><CloseIcon /></button> |
| 36 |
<div className="betterdocs-popup-video"> |
| 37 |
<iframe |
| 38 |
src="https://www.youtube.com/embed/aazpfsyrPH8" |
| 39 |
title="YouTube video player" |
| 40 |
frameBorder="0" |
| 41 |
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" |
| 42 |
referrerPolicy="strict-origin-when-cross-origin" |
| 43 |
allowFullScreen |
| 44 |
></iframe> |
| 45 |
</div> |
| 46 |
</div> |
| 47 |
</> |
| 48 |
) |
| 49 |
} |
| 50 |
|