(self["webpackChunkscui"]=self["webpackChunkscui"]||[]).push([[8108],{68039:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return h}});var r=i(66252);const o=e=>((0,r.dD)("data-v-32639351"),e=e(),(0,r.Cn)(),e),a=["poster","width","height"],n=["src"],s=o((()=>(0,r._)("p",{class:"vjs-no-js"},[(0,r.Uk)(" To view this video please enable JavaScript, and consider upgrading to a web browser that "),(0,r._)("a",{href:"https://videojs.com/html5-video-support/",target:"_blank"},"supports HTML5 video")],-1)));function l(e,t,i,o,l,d){return(0,r.wg)(),(0,r.iD)("video",{ref:"videoPlayer",class:"video-js",controls:"",poster:i.poster,width:i.width,height:i.height},[(0,r._)("source",{src:i.videoSrc,type:"video/mp4"},null,8,n),s],8,a)}var d=i(21227),p={name:"VideoPlayer",props:{poster:{type:String,default:""},videoSrc:{type:String,required:!0},width:{type:[String,Number],default:640},height:{type:[String,Number],default:360}},data(){return{player:null}},mounted(){this.initializePlayer()},methods:{initializePlayer(){if(this.$refs.videoPlayer){let e={controls:!0,autoplay:!0,preload:"auto",loop:!0,controlBar:{children:[{name:"playToggle"},{name:"progressControl"},{name:"currentTimeDisplay"},{name:"timeDivider"},{name:"durationDisplay"},{name:"volumePanel",inline:!1},{name:"fullscreenToggle"}]}};this.player=(0,d.Z)(this.$refs.videoPlayer,e,(()=>{console.log("Video player initialized.")}))}else console.error("Video element not found.")}},unmounted(){this.player&&this.player.dispose()}},u=i(83744);const c=(0,u.Z)(p,[["render",l],["__scopeId","data-v-32639351"]]);var h=c},25893:function(){}}]);