feat: add background video components (#567)

This commit is contained in:
Wesley Luyten
2026-02-20 13:56:32 -06:00
committed by GitHub
parent 604f40605b
commit fd14f0cb17
7 changed files with 130 additions and 1 deletions
@@ -0,0 +1,13 @@
import { BackgroundVideo } from '../../media/background-video';
export class BackgroundVideoElement extends BackgroundVideo {
static readonly tagName = 'background-video';
}
customElements.define(BackgroundVideoElement.tagName, BackgroundVideoElement);
declare global {
interface HTMLElementTagNameMap {
[BackgroundVideoElement.tagName]: BackgroundVideoElement;
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
import { HlsVideo } from '../../ui/hls-video/hls-video-element';
import { HlsVideo } from '../../media/hls-video';
export class HlsVideoElement extends HlsVideo {
static readonly tagName = 'hls-video';