Files
aiot-platform-ui/apps/web-antd/dist/js/index-BHvx0IfH.js
lzh 2deb263bf9
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-08 00:18:15 +08:00

2 lines
627 B
JavaScript

import{aA as t}from"./bootstrap-D7yvUSkm.js";import{m as a,ad as l,b2 as r,ab as o,u as s,aT as p}from"../jse/index-index-BAlyf32H.js";const c=["src","poster","autoplay"],f=a({name:"VideoPlayer",__name:"index",props:{property:{}},setup(e){return(n,u)=>(r(),l("div",{class:"w-full",style:p({height:`${e.property.style.height}px`})},[e.property.posterUrl?(r(),o(s(t),{key:0,class:"h-full w-full",src:e.property.posterUrl,preview:!1},null,8,["src"])):(r(),l("video",{key:1,class:"h-full w-full",src:e.property.videoUrl,poster:e.property.posterUrl,autoplay:e.property.autoplay,controls:""},null,8,c))],4))}});export{f as default};