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) 367 B
import { VideoInfo } from '../urlParser'; export interface CanalPlusUrlParameters { [key: string]: any; } export type CanalPlusMediaTypes = 'video'; export interface CanalPlusVideoInfo extends VideoInfo<CanalPlusUrlParameters, CanalPlusMediaTypes> { provider: 'canalplus'; } export type CanalPlusParseResult = CanalPlusVideoInfo | undefined;