@wistia/wistia-player 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/embeds/media/players/vulcanV2Player/shared/ui_components/BigPlayButton.d.ts +2 -1
- package/dist/types/embeds/media/players/vulcanV2Player/shared/ui_components/BigPlayButton.d.ts.map +1 -1
- package/dist/types/embeds/media/players/vulcanV2Player/shared/ui_components/svgs/BigPlayButtonSVG.d.ts +2 -1
- package/dist/types/embeds/media/players/vulcanV2Player/shared/ui_components/svgs/BigPlayButtonSVG.d.ts.map +1 -1
- package/dist/types/embeds/wistiaPlayer/components/PreloadThumbnail.d.ts.map +1 -1
- package/dist/wistia-player.js +38 -25
- package/dist/wistia-player.js.map +1 -1
- package/package.json +2 -2
package/dist/types/embeds/media/players/vulcanV2Player/shared/ui_components/BigPlayButton.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ interface BigPlayButtonProps {
|
|
|
11
11
|
controlBarDistance?: number;
|
|
12
12
|
duration: number;
|
|
13
13
|
elemRef?: Ref<HTMLDivElement>;
|
|
14
|
+
hasContrastIcons: boolean;
|
|
14
15
|
isLiveMedia: boolean;
|
|
15
16
|
isLoading?: boolean;
|
|
16
17
|
isOpaque?: boolean;
|
|
@@ -27,6 +28,6 @@ interface BigPlayButtonProps {
|
|
|
27
28
|
videoName: string;
|
|
28
29
|
videoWidth: number;
|
|
29
30
|
}
|
|
30
|
-
export declare const BigPlayButton: ({ backgroundGradientCss, baseHeight, baseWidth, borderRadius, buttonTabIndex, color, controlBarDistance, duration, elemRef, isLiveMedia, isLoading, isOpaque, isVisible, leftNudgeFraction, noMixBlendMode, onClick, playerLanguage, scale, showBpbTime, topNudgeFraction, videoName, videoWidth, }: BigPlayButtonProps) => JSX.Element;
|
|
31
|
+
export declare const BigPlayButton: ({ backgroundGradientCss, baseHeight, baseWidth, borderRadius, buttonTabIndex, color, controlBarDistance, duration, elemRef, hasContrastIcons, isLiveMedia, isLoading, isOpaque, isVisible, leftNudgeFraction, noMixBlendMode, onClick, playerLanguage, scale, showBpbTime, topNudgeFraction, videoName, videoWidth, }: BigPlayButtonProps) => JSX.Element;
|
|
31
32
|
export {};
|
|
32
33
|
//# sourceMappingURL=BigPlayButton.d.ts.map
|
package/dist/types/embeds/media/players/vulcanV2Player/shared/ui_components/BigPlayButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BigPlayButton.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/embeds/media/players/vulcanV2Player/shared/ui_components/BigPlayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAK,GAAG,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"BigPlayButton.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/embeds/media/players/vulcanV2Player/shared/ui_components/BigPlayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAK,GAAG,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAgBrC,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAQrC,UAAU,kBAAkB;IAC1B,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC9B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,EAAE;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,GAAI,uTAwB3B,kBAAkB,KAAG,GAAG,CAAC,OA2I3B,CAAC"}
|
|
@@ -2,9 +2,10 @@ import { JSX } from 'preact';
|
|
|
2
2
|
interface BigPlayButtonSVGProps {
|
|
3
3
|
height: number;
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
+
overrideFillColor?: string;
|
|
5
6
|
scale: number;
|
|
6
7
|
width: number;
|
|
7
8
|
}
|
|
8
|
-
export declare const BigPlayButtonSVG: ({ width, height, scale, isLoading, }: BigPlayButtonSVGProps) => JSX.Element;
|
|
9
|
+
export declare const BigPlayButtonSVG: ({ width, height, scale, isLoading, overrideFillColor, }: BigPlayButtonSVGProps) => JSX.Element;
|
|
9
10
|
export {};
|
|
10
11
|
//# sourceMappingURL=BigPlayButtonSVG.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BigPlayButtonSVG.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/embeds/media/players/vulcanV2Player/shared/ui_components/svgs/BigPlayButtonSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAK,GAAG,EAAsB,MAAM,QAAQ,CAAC;AAIpD,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAOD,eAAO,MAAM,gBAAgB,GAAI,
|
|
1
|
+
{"version":3,"file":"BigPlayButtonSVG.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/embeds/media/players/vulcanV2Player/shared/ui_components/svgs/BigPlayButtonSVG.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAK,GAAG,EAAsB,MAAM,QAAQ,CAAC;AAIpD,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAOD,eAAO,MAAM,gBAAgB,GAAI,yDAM9B,qBAAqB,KAAG,GAAG,CAAC,OA8B9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreloadThumbnail.d.ts","sourceRoot":"","sources":["../../../../../../../src/embeds/wistiaPlayer/components/PreloadThumbnail.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAK,GAAG,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,KAAK,EAAkB,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAsBlF,UAAU,qBAAqB;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,GAAI,sDAK9B,qBAAqB,KAAG,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"PreloadThumbnail.d.ts","sourceRoot":"","sources":["../../../../../../../src/embeds/wistiaPlayer/components/PreloadThumbnail.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAK,GAAG,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,KAAK,EAAkB,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAsBlF,UAAU,qBAAqB;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,GAAI,sDAK9B,qBAAqB,KAAG,GAAG,CAAC,OAuJ9B,CAAC"}
|
package/dist/wistia-player.js
CHANGED
|
@@ -1619,9 +1619,10 @@ var isMediaDataError = function isMediaDataError(mediaData) {
|
|
|
1619
1619
|
/* harmony export */ K6: () => (/* binding */ rgbToHsl),
|
|
1620
1620
|
/* harmony export */ bJ: () => (/* binding */ getContrast),
|
|
1621
1621
|
/* harmony export */ hu: () => (/* binding */ getVideoPlayerIconColor),
|
|
1622
|
-
/* harmony export */ s1: () => (/* binding */ colorContrastRatiosByShape)
|
|
1622
|
+
/* harmony export */ s1: () => (/* binding */ colorContrastRatiosByShape),
|
|
1623
|
+
/* harmony export */ ui: () => (/* binding */ adjustColorForProperContrast)
|
|
1623
1624
|
/* harmony export */ });
|
|
1624
|
-
/* unused harmony exports
|
|
1625
|
+
/* unused harmony exports generateColorPalette, getBestColorForShape, getHexWithoutHash, getAudioPlayerIconColor */
|
|
1625
1626
|
/* harmony import */ var _wistia_type_guards__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9814);
|
|
1626
1627
|
/* harmony import */ var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5417);
|
|
1627
1628
|
/* harmony import */ var _sentryUtils_ts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2621);
|
|
@@ -7007,8 +7008,8 @@ var PROD_EMBED_HOST = 'embed.wistia.com';
|
|
|
7007
7008
|
var PROD_SSL_EMBED_HOST = 'embed-ssl.wistia.com';
|
|
7008
7009
|
var PROD_FASTLY_SSL_HOST = 'embed-fastly.wistia.com';
|
|
7009
7010
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7010
|
-
var TAGGED_VERSION = "0.3.
|
|
7011
|
-
var CURRENT_SHA = (/* unused pure expression or super */ null && ("
|
|
7011
|
+
var TAGGED_VERSION = "0.3.15" || 0;
|
|
7012
|
+
var CURRENT_SHA = (/* unused pure expression or super */ null && ("23f6ae034940d3d8652b757a538a6bfb3edd762f" || 0));
|
|
7012
7013
|
var DEFAULT_PROTOCOL = function () {
|
|
7013
7014
|
if (typeof window !== 'undefined' && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location) {
|
|
7014
7015
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location.protocol;
|
|
@@ -7926,6 +7927,7 @@ var wlog = new Logger(_wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_1__/* .Wisti
|
|
|
7926
7927
|
/* harmony import */ var _utilities_detect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7231);
|
|
7927
7928
|
/* harmony import */ var _utilities_duration_ts__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1341);
|
|
7928
7929
|
/* harmony import */ var _utilities_interFontFamily_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8213);
|
|
7930
|
+
/* harmony import */ var _utilities_color_utils_ts__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(998);
|
|
7929
7931
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7930
7932
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7931
7933
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -7946,6 +7948,7 @@ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
|
7946
7948
|
|
|
7947
7949
|
|
|
7948
7950
|
|
|
7951
|
+
|
|
7949
7952
|
var detect = (0,_utilities_detect_js__WEBPACK_IMPORTED_MODULE_6__/* .cachedDetect */ .o1)();
|
|
7950
7953
|
var BASE_BUTTON_WIDTH = 125;
|
|
7951
7954
|
var BASE_BUTTON_HEIGHT = 80;
|
|
@@ -7966,6 +7969,7 @@ var BigPlayButton = function BigPlayButton(_ref) {
|
|
|
7966
7969
|
controlBarDistance = _ref$controlBarDistan === void 0 ? 0 : _ref$controlBarDistan,
|
|
7967
7970
|
duration = _ref.duration,
|
|
7968
7971
|
elemRef = _ref.elemRef,
|
|
7972
|
+
hasContrastIcons = _ref.hasContrastIcons,
|
|
7969
7973
|
isLiveMedia = _ref.isLiveMedia,
|
|
7970
7974
|
_ref$isLoading = _ref.isLoading,
|
|
7971
7975
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
@@ -8007,14 +8011,6 @@ var BigPlayButton = function BigPlayButton(_ref) {
|
|
|
8007
8011
|
top: "calc(50% + ".concat((topNudgeFraction || 0) * 100, "% - ").concat(controlBarDistance, "px)"),
|
|
8008
8012
|
boxShadow: isOpaque ? '0 3px 5px rgba(0,0,0,0.3)' : undefined
|
|
8009
8013
|
};
|
|
8010
|
-
var buttonStyle = {
|
|
8011
|
-
backgroundColor: 'transparent',
|
|
8012
|
-
border: 0,
|
|
8013
|
-
cursor: 'pointer',
|
|
8014
|
-
height: "".concat(scaledHeight, "px"),
|
|
8015
|
-
boxShadow: 'none',
|
|
8016
|
-
width: "".concat(scaledWidth, "px")
|
|
8017
|
-
};
|
|
8018
8014
|
var shouldMixBlendMode = !detect.edge && !noMixBlendMode;
|
|
8019
8015
|
var blendColor = new _utilities_color_js__WEBPACK_IMPORTED_MODULE_4__/* .Color */ .Q1(color !== null && color !== void 0 ? color : '#000').alpha(1);
|
|
8020
8016
|
var blendStyle = {
|
|
@@ -8027,20 +8023,26 @@ var BigPlayButton = function BigPlayButton(_ref) {
|
|
|
8027
8023
|
top: 0,
|
|
8028
8024
|
width: "".concat(scaledWidth, "px")
|
|
8029
8025
|
};
|
|
8030
|
-
var overlayColor = new _utilities_color_js__WEBPACK_IMPORTED_MODULE_4__/* .Color */ .Q1(color !== null && color !== void 0 ? color : '#000');
|
|
8031
|
-
var overlayAlphaValue = shouldMixBlendMode ? ALPHA_MIX_BLEND_MODE : ALPHA_NO_MIX_BLEND_MODE;
|
|
8032
|
-
overlayColor.alpha(isOpaque ? 1 : overlayAlphaValue);
|
|
8033
|
-
if (isFocused) {
|
|
8034
|
-
overlayColor.lighten('15%');
|
|
8035
|
-
}
|
|
8036
8026
|
var shouldUseGradient = backgroundGradientCss != null;
|
|
8027
|
+
var playerColorObj = new _utilities_color_js__WEBPACK_IMPORTED_MODULE_4__/* .Color */ .Q1(color !== null && color !== void 0 ? color : '#000000');
|
|
8028
|
+
var hoverButtonColor = (0,_utilities_color_utils_ts__WEBPACK_IMPORTED_MODULE_9__/* .adjustColorForProperContrast */ .ui)(playerColorObj, playerColorObj, 'nonText');
|
|
8029
|
+
var overlayColor = isFocused ? hoverButtonColor : playerColorObj;
|
|
8030
|
+
var overlayAlphaValue = shouldMixBlendMode ? ALPHA_MIX_BLEND_MODE : ALPHA_NO_MIX_BLEND_MODE;
|
|
8031
|
+
var overlayColorObj = new _utilities_color_js__WEBPACK_IMPORTED_MODULE_4__/* .Color */ .Q1(overlayColor);
|
|
8032
|
+
var playerIconColor = (0,_utilities_color_utils_ts__WEBPACK_IMPORTED_MODULE_9__/* .getVideoPlayerIconColor */ .hu)(playerColorObj, hasContrastIcons, shouldUseGradient);
|
|
8033
|
+
var hoverIconColor = hasContrastIcons ? (0,_utilities_color_utils_ts__WEBPACK_IMPORTED_MODULE_9__/* .adjustColorForProperContrast */ .ui)(playerIconColor, hoverButtonColor, 'paragraphText') : '#fff';
|
|
8034
|
+
overlayColorObj.alpha(isOpaque ? 1 : overlayAlphaValue);
|
|
8037
8035
|
var gradientStyles = shouldUseGradient ? {
|
|
8038
8036
|
background: backgroundGradientCss,
|
|
8039
8037
|
backgroundSize: "".concat(videoWidth, "px 100%"),
|
|
8040
8038
|
backgroundPositionX: 'center'
|
|
8041
8039
|
} : {};
|
|
8040
|
+
if (shouldUseGradient) {
|
|
8041
|
+
hoverIconColor = '#ffffff';
|
|
8042
|
+
hoverButtonColor = 'rgba(0,0,0,0.4)';
|
|
8043
|
+
}
|
|
8042
8044
|
var overlayStyle = _objectSpread(_objectSpread({
|
|
8043
|
-
backgroundColor:
|
|
8045
|
+
backgroundColor: overlayColorObj.toRgba()
|
|
8044
8046
|
}, gradientStyles), {}, {
|
|
8045
8047
|
height: "".concat(scaledHeight, "px"),
|
|
8046
8048
|
left: 0,
|
|
@@ -8049,6 +8051,15 @@ var BigPlayButton = function BigPlayButton(_ref) {
|
|
|
8049
8051
|
transition: 'background-color 150ms',
|
|
8050
8052
|
width: "".concat(scaledWidth, "px")
|
|
8051
8053
|
});
|
|
8054
|
+
var buttonStyle = {
|
|
8055
|
+
backgroundColor: 'transparent',
|
|
8056
|
+
border: 0,
|
|
8057
|
+
color: isFocused ? hoverIconColor : playerIconColor,
|
|
8058
|
+
cursor: 'pointer',
|
|
8059
|
+
height: "".concat(scaledHeight, "px"),
|
|
8060
|
+
boxShadow: 'none',
|
|
8061
|
+
width: "".concat(scaledWidth, "px")
|
|
8062
|
+
};
|
|
8052
8063
|
var shouldDisplayDuration = showBpbTime && !isLiveMedia;
|
|
8053
8064
|
var timeStyle = {
|
|
8054
8065
|
background: 'rgba(0,0,0,.4)',
|
|
@@ -8088,7 +8099,8 @@ var BigPlayButton = function BigPlayButton(_ref) {
|
|
|
8088
8099
|
width: baseWidth,
|
|
8089
8100
|
height: baseHeight,
|
|
8090
8101
|
scale: scale,
|
|
8091
|
-
isLoading: isLoading
|
|
8102
|
+
isLoading: isLoading,
|
|
8103
|
+
overrideFillColor: isFocused ? hoverIconColor : playerIconColor
|
|
8092
8104
|
})), shouldDisplayDuration ? (0,preact__WEBPACK_IMPORTED_MODULE_0__.h)("div", {
|
|
8093
8105
|
class: "w-bpb-time",
|
|
8094
8106
|
style: timeStyle
|
|
@@ -10163,7 +10175,8 @@ var BigPlayButtonSVG = function BigPlayButtonSVG(_ref) {
|
|
|
10163
10175
|
height = _ref.height,
|
|
10164
10176
|
scale = _ref.scale,
|
|
10165
10177
|
_ref$isLoading = _ref.isLoading,
|
|
10166
|
-
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading
|
|
10178
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
10179
|
+
overrideFillColor = _ref.overrideFillColor;
|
|
10167
10180
|
var scaledHeight = height * scale;
|
|
10168
10181
|
var svgAttrs = (0,_utilities_svg_boilerplate_ts__WEBPACK_IMPORTED_MODULE_2__/* .standardSvgAttrs */ .I)({
|
|
10169
10182
|
width: width,
|
|
@@ -10171,7 +10184,7 @@ var BigPlayButtonSVG = function BigPlayButtonSVG(_ref) {
|
|
|
10171
10184
|
styleOverride: {
|
|
10172
10185
|
position: 'absolute',
|
|
10173
10186
|
height: "".concat(scaledHeight, "px"),
|
|
10174
|
-
color:
|
|
10187
|
+
color: overrideFillColor
|
|
10175
10188
|
},
|
|
10176
10189
|
ariaHidden: true
|
|
10177
10190
|
});
|
|
@@ -14639,6 +14652,7 @@ var PreloadThumbnail = function PreloadThumbnail(_ref) {
|
|
|
14639
14652
|
color: playerColorOrGradientColor,
|
|
14640
14653
|
controlBarDistance: calculatedControlBarDistance,
|
|
14641
14654
|
duration: duration !== null && duration !== void 0 ? duration : 0,
|
|
14655
|
+
hasContrastIcons: contrastIcons !== null && contrastIcons !== void 0 ? contrastIcons : false,
|
|
14642
14656
|
isLiveMedia: mediaType === 'LiveStream',
|
|
14643
14657
|
isLoading: isLoading,
|
|
14644
14658
|
isOpaque: opaqueControls,
|
|
@@ -17294,7 +17308,7 @@ var WistiaPlayer = /*#__PURE__*/function (_HTMLElement) {
|
|
|
17294
17308
|
var _getRemapTime = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10() {
|
|
17295
17309
|
var _classPrivateFieldGet96,
|
|
17296
17310
|
_this7 = this;
|
|
17297
|
-
var _t, _t2, _t3
|
|
17311
|
+
var _t, _t2, _t3;
|
|
17298
17312
|
return _regenerator().w(function (_context10) {
|
|
17299
17313
|
while (1) switch (_context10.n) {
|
|
17300
17314
|
case 0:
|
|
@@ -17339,8 +17353,7 @@ var WistiaPlayer = /*#__PURE__*/function (_HTMLElement) {
|
|
|
17339
17353
|
};
|
|
17340
17354
|
});
|
|
17341
17355
|
case 4:
|
|
17342
|
-
|
|
17343
|
-
_t(_t2, _t3, _t4);
|
|
17356
|
+
_t(_t2, _t3, _context10.v);
|
|
17344
17357
|
case 5:
|
|
17345
17358
|
return _context10.a(2, _classPrivateFieldGet(_cachedRemapTime, this));
|
|
17346
17359
|
}
|