@aigamo/nostalgic-diva
Version:
React function components for imperatively controlling embedded players (audio, Niconico, SoundCloud and YouTube) using refs.
8 lines (7 loc) • 310 B
TypeScript
import { PlayerType } from '../controllers/PlayerController';
import { VideoService } from './VideoService';
export declare class DailymotionVideoService extends VideoService<PlayerType.Dailymotion> {
constructor();
canPlay(url: string): boolean;
extractVideoId(url: string): string | undefined;
}