PageSourceSearch

https://wilsondaniels.com/_nuxt/BsXZEMux.js

js wilsondaniels.com collected 2026-10-01 12:09:46 UTC 1,321 bytes, 1 lines download raw bytes

1import{d as u,s as v,J as d,ag as _,v as w,w as y,A as h,t as b,o as R,c as k,n as A,ah as I,b as $,R as x}from"./DFwmjKbr.js";import{P as E}from"./5tpyGfXl.js";const B=u({__name:"EmbedVideo",props:{videoId:{},play:{type:Boolean}},emits:["timestamp"],async setup(p,{emit:P}){let o,c;const a=p;let r=v({videoAspect:16/9,isPlaying:!1,isErrored:!1});const s=d(),n=d();let t=null;const f=`https://player.vimeo.com/video/${a.videoId}?title=0&sidedock=0`;_(n);const m=w(()=>({aspectRatio:`${r.videoAspect} / 1`}));function l(e){e&&console.error(e),r.isErrored=!0}let{data:i}=([o,c]=y(()=>h(`vimeo-${a.videoId}`,()=>$fetch(`https://vimeo.com/api/oembed.json?url=https://www.vimeo.com/${a.videoId}`))),o=await o,c(),o);return i.value?r.videoAspect=i.value.width/i.value.height:(console.error(`Could not fetch Vimeo data for video ${a.videoId}`),l()),b(async()=>{s.value&&(t=new E(s.value),a.play==!0&&t.play(),t.on("error",e=>{l(e)}),await t.ready().catch(e=>{l(e)}))}),(e,g)=>(R(),k("div",{ref_key:"wrapperRef",ref:n,class:"video-wrapper relative",style:I($(m))},[A("iframe",{src:f,frameborder:"0",ref_key:"iframeRef",ref:s,webkitallowfullscreen:"",mozallowfullscreen:"",allowfullscreen:"",allow:"autoplay",class:"absolute inset-0 w-full h-full"},null,512)],4))}}),S=x(B,[["__scopeId","data-v-5ae969fa"]]);export{S as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.