UNPKG

@ormoshe/js-video-url-parser

Version:

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

14 lines (9 loc) 322 B
import { VideoInfo } from '../urlParser'; export interface TellaUrlParameters { [key: string]: any; } export type TellaMediaTypes = 'video'; export interface TellaVideoInfo extends VideoInfo<TellaUrlParameters, TellaMediaTypes> { provider: 'tella'; } export type TellaParseResult = TellaVideoInfo | undefined;