"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),React=require("react");require("@gem-sdk/core"),require("next/link");var Video=require("../../../../../video/components/Video.js");const ProductFeatureVideo=e=>{let{url:t,aspectRatio:r}=e,u=React.useMemo(()=>t.includes("youtu.be")?"youtube":t.includes("vimeo")?"vimeo":"html5",[t]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx(Video.default,{setting:{type:u,html5Url:t,youtubeUrl:t,vimeoUrl:t,preload:!0,controls:!0,aspectRatio:r}})})};var ProductFeatureVideo$1=React.memo(ProductFeatureVideo);exports.default=ProductFeatureVideo$1;
