UNPKG

react-player

Version:

A React component for playing a variety of URLs, including file paths, Mux, YouTube, Vimeo, and Wistia

18 lines (17 loc) 661 B
export declare const AUDIO_EXTENSIONS: RegExp; export declare const VIDEO_EXTENSIONS: RegExp; export declare const HLS_EXTENSIONS: RegExp; export declare const DASH_EXTENSIONS: RegExp; export declare const MATCH_URL_MUX: RegExp; export declare const MATCH_URL_YOUTUBE: RegExp; export declare const MATCH_URL_VIMEO: RegExp; export declare const MATCH_URL_WISTIA: RegExp; export declare const canPlay: { html: (url: string) => boolean; hls: (url: string) => boolean; dash: (url: string) => boolean; mux: (url: string) => boolean; youtube: (url: string) => boolean; vimeo: (url: string) => boolean; wistia: (url: string) => boolean; };