@ormoshe/js-video-url-parser
Version:
A parser to extract provider, video id, starttime and others from YouTube, Vimeo, ... urls
14 lines (9 loc) • 346 B
TypeScript
import { VideoInfo } from '../urlParser';
export interface AllocineUrlParameters {
[key: string]: any;
}
export type AllocineMediaTypes = 'video';
export interface AllocineVideoInfo extends VideoInfo<AllocineUrlParameters, AllocineMediaTypes> {
provider: 'allocine';
}
export type AllocineParseResult = AllocineVideoInfo | undefined;