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) 357 B
import { VideoInfo } from '../urlParser'; export interface BunnyUrlParameters { [key: string]: any; } export type BunnyMediaTypes = 'video'; export interface BunnyVideoInfo extends VideoInfo<BunnyUrlParameters, BunnyMediaTypes> { provider: 'bunny'; channel: string; } export type BunnyParseResult = BunnyVideoInfo | undefined;