react-native-vimeo-iframe
Version:
React Native Vimeo Iframe is a library to render Vimeo videos in a React Native app. This component allows you to embed a Vimeo video in your app and have full access to the Vimeo player JS API (more information https://developer.vimeo.com/player/js-api).
13 lines (12 loc) • 671 B
TypeScript
import { WebViewProps } from 'react-native-webview';
export declare type CallbackType = (data?: any) => void;
export interface LayoutProps extends WebViewProps {
handlers?: {
[key: string]: any;
};
videoId: string;
params?: string;
reference?: string;
}
export declare const PlayerEvents: readonly ["controlschange", "fullscreenchange", "audioprocess", "canplay", "canplaythrough", "complete", "durationchange", "emptied", "ended", "loadeddata", "loadedmetadata", "pause", "play", "playing", "ratechange", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange"];
export declare type PlayerEvent = typeof PlayerEvents[number];