mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
refactor(packages)!: rename hls media stack to hlsjs naming (#1753)
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import { HlsVideo } from '../../media/hls-video';
|
||||
import { safeDefine } from '../safe-define';
|
||||
|
||||
export class HlsVideoElement extends HlsVideo {
|
||||
static readonly tagName = 'hls-video';
|
||||
}
|
||||
|
||||
safeDefine(HlsVideoElement);
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[HlsVideoElement.tagName]: HlsVideoElement;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import { HlsJsVideo } from '../../media/hlsjs-video';
|
||||
import { safeDefine } from '../safe-define';
|
||||
|
||||
export class HlsJsVideoElement extends HlsJsVideo {
|
||||
static readonly tagName = 'hlsjs-video';
|
||||
}
|
||||
|
||||
safeDefine(HlsJsVideoElement);
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[HlsJsVideoElement.tagName]: HlsJsVideoElement;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user