mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat: add background video components (#567)
This commit is contained in:
@@ -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,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';
|
||||
|
||||
Reference in New Issue
Block a user