mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat: add media API + HLS video components (#507)
This commit is contained in:
@@ -1 +1,13 @@
|
||||
// TODO: Register HLS video element
|
||||
import { HlsVideo } from '../../ui/hls-video/hls-video-element';
|
||||
|
||||
export class HlsVideoElement extends HlsVideo {
|
||||
static readonly tagName = 'hls-video';
|
||||
}
|
||||
|
||||
customElements.define(HlsVideoElement.tagName, HlsVideoElement);
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[HlsVideoElement.tagName]: HlsVideoElement;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user