react-jw-player-ts
Version:
A fork of react-jw-player rewritten in typescript
9 lines (8 loc) • 326 B
TypeScript
declare type InstallPlayerScriptArgs = {
context: Document;
onLoadCallback: VoidFunction;
scriptSrc: string;
uniqueScriptId: string;
};
declare function installPlayerScript({ context, onLoadCallback, scriptSrc, uniqueScriptId }: InstallPlayerScriptArgs): HTMLScriptElement;
export default installPlayerScript;