@wistia/wistia-player
Version:
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
10 lines • 595 B
TypeScript
import { PublicApi } from '../types/player-api-types.ts';
export declare const MUX_PERCENTAGE_TO_ENABLE = 0.1;
/**
* Determines if Mux should be enabled for an embed based on various conditions.
* @param {PublicApi} video The embed mux should be enabled for.
* @param {boolean} didWinCoinFlip Whether or not the embed won the coin flip which determines if Mux should be enabled.
* @returns {boolean} True if Mux should be enabled, false otherwise.
*/
export declare const shouldEnableMux: (video: PublicApi, didWinCoinFlip: boolean) => boolean;
//# sourceMappingURL=shouldEnableMux.d.ts.map