UNPKG

@ormoshe/js-video-url-parser

Version:

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

15 lines (10 loc) 381 B
import { VideoInfo } from '../urlParser'; export interface DescriptUrlParameters { [key: string]: any; } export type DescriptMediaTypes = 'video'; export interface DescriptVideoInfo extends VideoInfo<DescriptUrlParameters, DescriptMediaTypes> { provider: 'descript'; channel: string; } export type DescriptParseResult = DescriptVideoInfo | undefined;