"use strict";var index=require("./index-Dlg6qIxM.js");const prestoVideoCss=":host{display:block}",PrestoVideo=class{constructor(e){index.registerInstance(this,e)}render(){return index.h("video",{key:"8c5e3dcc559163fd2f5df2e0400de241aa997028",class:{"presto-player__player":!0,"plyr__video-embed":["youtube","vimeo"].includes(this.provider)},part:"video",ref:this.getRef,autoplay:this.autoplay,preload:this.preload,"data-poster":this.poster,playsinline:this.playsinline,crossorigin:this.crossorigin||void 0},index.h("source",{key:"9ff4c7c2500bb764a4212742ec44b73fec437b0e",src:this.src}),!!this.tracks&&!!this.tracks.length&&this.tracks.map(e=>index.h("track",{kind:"captions",label:(null==e?void 0:e.label)?e.label:"Captions",src:null==e?void 0:e.src,srclang:(null==e?void 0:e.srcLang)?null==e?void 0:e.srcLang:"en"})))}};PrestoVideo.style=prestoVideoCss,exports.presto_video=PrestoVideo;