@wistia/wistia-player
Advanced tools
Comparing version 0.0.86 to 0.0.87
@@ -27,8 +27,7 @@ import { JSX, Ref } from 'preact'; | ||
topNudgeFraction?: number; | ||
videoHeight: number; | ||
videoName: string; | ||
videoWidth: number; | ||
} | ||
export declare const BigPlayButton: ({ backgroundGradientCss, baseHeight, baseWidth, borderRadius, buttonTabIndex, color, controlBarDistance, duration, elemRef, hasNewRoundedIcons, isLiveMedia, isLoading, isVisible, leftNudgeFraction, noMixBlendMode, onClick, playerLanguage, scale, showBpbTime, topNudgeFraction, videoName, videoWidth, videoHeight, }: BigPlayButtonProps) => JSX.Element; | ||
export declare const BigPlayButton: ({ backgroundGradientCss, baseHeight, baseWidth, borderRadius, buttonTabIndex, color, controlBarDistance, duration, elemRef, hasNewRoundedIcons, isLiveMedia, isLoading, isVisible, leftNudgeFraction, noMixBlendMode, onClick, playerLanguage, scale, showBpbTime, topNudgeFraction, videoName, videoWidth, }: BigPlayButtonProps) => JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=BigPlayButton.d.ts.map |
import type { Authorization, FullscreenState } from './types.ts'; | ||
import type { WistiaPlayerEvents } from '../../types/events.ts'; | ||
import type { AllowedQualities, EmbedOptions, MediaData, OverlayOptions, PlayerState, Players, PopoverAnimation, PopoverContentSettings, PublicApi, ReplaceWithMediaOptions } from '../../types/player-api-types.ts'; | ||
import type { AllowedQualities, EmbedOptions, MediaData, OverlayOptions, Players, PlayerState, PopoverAnimation, PopoverContentSettings, PublicApi, ReplaceWithMediaOptions } from '../../types/player-api-types.ts'; | ||
import type { PluginConfigs, PluginInstances } from '../../types/plugins.ts'; | ||
import { AFTER_REPLACE_EVENT, API_READY_EVENT, BEFORE_REPLACE_EVENT, INPUT_CONTEXT_CHANGE_EVENT, LOADED_MEDIA_DATA_EVENT } from '../../utilities/eventConstants.ts'; | ||
import { ControlInstances } from '../../types/controls.ts'; | ||
import { Gradient } from '../../types/gradient.ts'; | ||
export declare class WistiaPlayer extends HTMLElement { | ||
@@ -383,2 +384,13 @@ #private; | ||
/** | ||
* Returns the player color gradient object. | ||
* @returns {Gradient | undefined} | ||
*/ | ||
get playerColorGradient(): Gradient | undefined; | ||
/** | ||
* Sets the player color gradient object. | ||
* @param {Gradient} gradient | ||
* @returns {void} | ||
*/ | ||
set playerColorGradient(gradient: Gradient); | ||
/** | ||
* Returns the overridding player. | ||
@@ -385,0 +397,0 @@ * Internal use only. |
export type GradientColor = [string, number]; | ||
export type Gradient = { | ||
colors: GradientColor[]; | ||
on: boolean; | ||
}; | ||
export declare const isGradient: (value: unknown) => value is Gradient; | ||
//# sourceMappingURL=gradient.d.ts.map |
@@ -270,2 +270,3 @@ import { ContainerNode } from 'preact'; | ||
playerColor: (newColor?: string | undefined) => Impl | string; | ||
playerColorGradient: (gradient: Gradient) => Impl; | ||
playPauseControlEnabled: (shouldDisplay?: boolean | undefined) => Impl; | ||
@@ -435,2 +436,3 @@ playPauseNotifierEnabled: (shouldDisplay?: boolean | undefined) => Impl; | ||
flushInitQueue?: () => void; | ||
isSentryInitialized?: boolean; | ||
mixin: ((klass: object, obj: object) => void) | null; | ||
@@ -437,0 +439,0 @@ playlistMethods?: Map<string, PlaylistMethods>; |
import { Gradient } from '../types/gradient.ts'; | ||
export declare const getCssGradient: (gradient: Gradient, alpha?: number) => string | null; | ||
export declare const getGradientColor: (gradient: Gradient, index?: number) => string | null; | ||
//# sourceMappingURL=gradients.d.ts.map |
{ | ||
"name": "@wistia/wistia-player", | ||
"version": "0.0.86", | ||
"version": "0.0.87", | ||
"packageManager": "yarn@4.5.3", | ||
@@ -5,0 +5,0 @@ "description": "An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1869018
18886