UNPKG

@ormoshe/js-video-url-parser

Version:

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

15 lines (9 loc) 355 B
import { VideoInfo } from '../urlParser'; export interface ScreenPalUrlParameters { [key: string]: any; } export type ScreenPalMediaTypes = 'video'; export interface ScreenPalVideoInfo extends VideoInfo<ScreenPalUrlParameters, ScreenPalMediaTypes> { provider: 'screenpal'; } export type ScreenPalParseResult = ScreenPalVideoInfo | undefined;