UNPKG

@ormoshe/js-video-url-parser

Version:

A parser to extract provider, video id, starttime and others from YouTube, Vimeo, ... urls

15 lines (9 loc) 331 B
import { VideoInfo } from '../urlParser'; export interface GumletUrlParameters { [key: string]: any; } export type GumletMediaTypes = 'video'; export interface GumletVideoInfo extends VideoInfo<GumletUrlParameters, GumletMediaTypes> { provider: 'gumlet'; } export type GumletParseResult = GumletVideoInfo | undefined;