@wistia/wistia-player
Version:
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
16 lines • 698 B
TypeScript
import type { MediaDataServerErrorResponse, MediaData } from '../types/player-api-types.ts';
import type { PluginConfigs } from '../types/plugins.ts';
export type FetchMediaDataOptions = {
bypassOriginShield?: boolean;
channelId?: number | null;
channelPassword?: string | null;
defaultMediaLanguage?: string;
deferFetchingToCarousel?: boolean;
embedHost?: string;
overrideMediaLanguage?: string;
password?: string | null;
plugin?: PluginConfigs;
skipCache?: boolean;
};
export declare const fetchMediaData: (hashedId: string, options?: FetchMediaDataOptions) => Promise<MediaData | MediaDataServerErrorResponse>;
//# sourceMappingURL=fetchMediaData.d.ts.map