chaimu
Version:
✨ Chaimu is an audio player that synchronizes audio with video
15 lines • 449 B
TypeScript
export type VideoHandlerOpts = {
video: HTMLVideoElement;
debug: boolean;
};
export type FetchFunction = (input: string | URL | Request, init?: any) => Promise<Response>;
export type FetchOpts = Record<string, unknown>;
export type ChaimuOpts = {
url?: string;
video: HTMLVideoElement;
debug?: boolean;
fetchFn?: FetchFunction;
fetchOpts?: FetchOpts;
preferAudio?: boolean;
};
//# sourceMappingURL=controller.d.ts.map