@ormoshe/js-video-url-parser
Version:
A parser to extract provider, video id, starttime and others from YouTube, Vimeo, ... urls
15 lines (10 loc) • 404 B
TypeScript
import { VideoInfo } from '../urlParser';
export interface DailymotionUrlParameters {
[key: string]: any;
start?: number;
}
export type DailymotionMediaTypes = 'video';
export interface DailymotionVideoInfo extends VideoInfo<DailymotionUrlParameters, DailymotionMediaTypes> {
provider: 'dailymotion';
}
export type DailymotionParseResult = DailymotionVideoInfo | undefined;