PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / admin / dashboard-overview / components / PopupVideo.js

PopupVideo.js in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/admin/dashboard-overview/components/PopupVideo.js

50 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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