import{Component}from"@theme/component";export class VideoBackgroundComponent extends Component{requiredRefs=["videoSources","videoElement"];connectedCallback(){super.connectedCallback();const{videoSources,videoElement}=this.refs;for(const source of videoSources){const{videoSource}=source.dataset;videoSource&&source.setAttribute("src",videoSource)}videoElement.load()}}customElements.get("video-background-component")||customElements.define("video-background-component",VideoBackgroundComponent);
//# sourceMappingURL=/s/files/1/0677/1399/0759/t/1/assets/video-background.js.map?v=1783078800
