UNPKG

@ormoshe/js-video-url-parser

Version:

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

16 lines (11 loc) 387 B
import { VideoInfo } from '../urlParser'; export interface WistiaUrlParameters { [key: string]: any; start?: number; } export type WistiaMediaTypes = 'video' | 'embedvideo'; export interface WistiaVideoInfo extends VideoInfo<WistiaUrlParameters, WistiaMediaTypes> { provider: 'wistia'; channel?: string; } export type WistiaParseResult = WistiaVideoInfo | undefined;