mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat: add native hls media + refactor (#1154)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { NativeHlsVideo } from '../../media/native-hls-video';
|
||||
import { safeDefine } from '../safe-define';
|
||||
|
||||
export class NativeHlsVideoElement extends NativeHlsVideo {
|
||||
static readonly tagName = 'native-hls-video';
|
||||
}
|
||||
|
||||
safeDefine(NativeHlsVideoElement);
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[NativeHlsVideoElement.tagName]: NativeHlsVideoElement;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user