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