Files
aiot-platform-ui/apps/web-antd/dist/js/index-B2Evm0rt.js

2 lines
627 B
JavaScript

import{aA as t}from"./bootstrap-Bjx___ge.js";import{m as a,ad as l,b2 as r,ab as o,u as s,aT as p}from"../jse/index-index-BrHAu2CG.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};