PageSourceSearch

https://exbplatform.netlify.app/_nuxt/video-upload.j6afEKZ7.js

js exbplatform.netlify.app collected 2026-10-03 10:43:30 UTC 1,740 bytes, 1 lines download raw bytes

1import{s as d,ah as i,o as n,c as u,a as p,n as y}from"./entry.Yh3GnwLp.js";import{_ as m}from"./_plugin-vue_export-helper.x3n3nnut.js";const{breakpoints:o}=d(i()),c={name:"ahc-video-upload",components:{},props:{id:{type:[Object,String],required:!0},isPlaying:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},controls:{type:Boolean,default:!1},aspect:{type:String,default:"video"}},data(){return{playerReady:!1,reducedMotion:window.matchMedia("(prefers-reduced-motion: reduce)").matches,aspectClass:this.aspect==="video"?"aspect-video":"aspect-auto"}},watch:{isPlaying(e){e?this.$refs.player.play():this.$refs.player.pause()}},computed:{player(){return this.$refs.player.player},videoUrl(){return this.id&&typeof this.id!="string"?o.value.smAndDown&&this.id.small.mediaItemUrl?this.id.small.mediaItemUrl:o.value.lgAndDown&&this.id.medium.mediaItemUrl?this.id.medium.mediaItemUrl:this.id.large.mediaItemUrl:this.id}},methods:{onReady(){this.playerReady=!0;const e=this.$refs.player;(this.currentTime===0||e.paused||e.ended)&&this.autoplay&&!this.reducedMotion&&e.readyState>2&&(e.muted=!0,e.play())},onEnd(){this.$emit("ended",!0)},play(){this.$refs.player.play()},pause(){this.$refs.player.pause()}}},f=["controls","autoplay","muted","loop"],h=["src"];function v(e,a,s,B,r,t){return n(),u("video",{class:y(["w-full",r.aspectClass]),ref:"player",controls:s.controls,onCanplay:a[0]||(a[0]=(...l)=>t.onReady&&t.onReady(...l)),onEnded:a[1]||(a[1]=(...l)=>t.onEnd&&t.onEnd(...l)),autoplay:s.autoplay,muted:s.muted,loop:s.loop,playsinline:"",key:t.videoUrl},[p("source",{src:t.videoUrl,type:"video/mp4"},null,8,h)],42,f)}const g=m(c,[["render",v]]);export{g 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.