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) 395 B
import { VideoInfo } from '../urlParser'; export interface GoogleDriveUrlParameters { [key: string]: any; } export type GoogleDriveMediaTypes = 'video'; export interface GoogleDriveVideoInfo extends VideoInfo<GoogleDriveUrlParameters, GoogleDriveMediaTypes> { provider: 'google'; channel: string; } export type VoomlyParseResult = GoogleDriveVideoInfo | undefined;