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) 393 B
import { VideoInfo } from '../urlParser'; export interface BrightcoveUrlParameters { [key: string]: any; } export type BrightcoveMediaTypes = 'video'; export interface BrightcoveVideoInfo extends VideoInfo<BrightcoveUrlParameters, BrightcoveMediaTypes> { provider: 'brightcove'; channel: string; } export type VoomlyParseResult = BrightcoveVideoInfo | undefined;