{"version":3,"file":"Stornaway_Embed_Using_Proxy.DFmbxqj9.mjs","names":[],"sources":["https:/framerusercontent.com/modules/HtFlHTfdFwU30wtl2hbq/RdJsHPsf4mVGCpBNwIQL/Stornaway_Embed_Using_Proxy.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const defaults={src:\"https://script.google.com/macros/s/AKfycbwaj2JTcMsR2MAAYbciBxkcdyQ5JIlpwO8E1Au5dVBlieFinFpbNSrxMhNDSwtLanlftw/exec\",radius:12};export default function StornowayEmbed({src=defaults.src,stornowayId,radius=defaults.radius}){// Add mobile-specific parameters to ensure controls show\nconst buildFinalSrc=()=>{let baseUrl=stornowayId?`https://player.stornaway.io/embed/${stornowayId}`:src;// Add critical mobile parameters\nconst separator=baseUrl.includes(\"?\")?\"&\":\"?\";return`${baseUrl}${separator}controls=1&fullscreen=1&mobile=1&playsinline=1`;};const finalSrc=buildFinalSrc();return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",borderRadius:radius,overflow:\"hidden\",background:\"#000\",// Critical: Enable touch handling\ntouchAction:\"manipulation\",WebkitTouchCallout:\"none\",WebkitUserSelect:\"none\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:finalSrc,title:\"Stornoway video\",// Comprehensive permissions - DO NOT add sandbox\nallow:\"autoplay; fullscreen; picture-in-picture; accelerometer; gyroscope; encrypted-media; web-share\",allowFullScreen:true,webkitallowfullscreen:\"true\",mozallowfullscreen:\"true\",// Mobile-specific attributes\nscrolling:\"no\",frameBorder:\"0\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0,display:\"block\",background:\"#000\",// Ensure iframe is interactive on mobile\npointerEvents:\"auto\",touchAction:\"auto\",// Hardware acceleration\ntransform:\"translateZ(0)\",WebkitTransform:\"translateZ(0)\"}})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StornowayEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Stornaway_Embed_Using_Proxy.map"],"mappings":"0HAA+L,SAAwB,EAAe,CAAC,MAAI,EAAS,IAAI,cAAY,SAAO,EAAS,QAAQ,CAE/J,IAAM,OAD3G,CAAC,IAAI,EAAQ,EAAY,qCAAqC,IAAc,EAC9F,EAAU,EAAQ,SAAS,IAAI,CAAC,IAAI,IAAI,MAAM,GAAG,IAAU,EAAU,mDAAgF,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,YAAY,SAAS,aAAa,EAAO,SAAS,SAAS,WAAW,OAC1S,YAAY,eAAe,mBAAmB,OAAO,iBAAiB,OAAO,CAAC,SAAsB,EAAK,SAAS,CAAC,IAAI,EAAS,MAAM,kBACtI,MAAM,iGAAiG,gBAAgB,GAAK,sBAAsB,OAAO,mBAAmB,OAC5K,UAAU,KAAK,YAAY,IAAI,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,EAAE,QAAQ,QAAQ,WAAW,OACjI,cAAc,OAAO,YAAY,OACjC,UAAU,gBAAgB,gBAAgB,gBAAgB,CAAC,CAAC,CAAC,CAAC,oBAPnB,CAAM,EAAS,CAAC,IAAI,qHAAqH,OAAO,GAAG"}