@ngx-telly/player
Version:
Telly - Angular frame-accurate HTML player
16 lines (15 loc) • 714 B
TypeScript
import { TellyMedia, TellyMediaFactory } from '@ngx-telly/player/core';
import * as i0 from "@angular/core";
export declare class TellyMediaService {
staticFactories: TellyMediaFactory[];
dynamicFactories: Map<string, TellyMediaFactory>;
medias: Map<string, TellyMedia>;
register(media: TellyMedia): void;
deregister(id: string): void;
get<T extends TellyMedia = TellyMedia>(id: string): T | undefined;
exists(id: string): boolean;
registerFactory(name: string, factory?: TellyMediaFactory): void;
deregisterFactory(name: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TellyMediaService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TellyMediaService>;
}