class HeaderVideo extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
`;
// Initialize Feather icons after rendering
setTimeout(() => {
if (typeof feather !== 'undefined') {
feather.replace();
}
}, 0);
}
}
customElements.define('header-video', HeaderVideo);
`;
// Initialize Feather icons after rendering
setTimeout(() => {
feather.replace();
}, 0);
}
}
customElements.define('header-video', HeaderVideo);