UNPKG

react-jw-player-ts

Version:

A fork of react-jw-player rewritten in typescript

19 lines (18 loc) 526 B
import { MediaObject, ReactJWPlayerProps } from '../types'; export declare type PlayerOpts = { key?: string; playlist?: string | MediaObject[]; file?: string; aspectratio?: 'inherit' | '1:1' | '16:9'; advertising?: { client: string; admessage: string; autoplayadsmuted: boolean; }; autostart?: boolean; mute?: boolean; image?: string; customProps?: unknown; }; declare function getPlayerOpts(props: ReactJWPlayerProps): PlayerOpts; export default getPlayerOpts;