@wistia/wistia-player-react 0.0.31 → 0.0.33

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.
@@ -2163,9 +2163,9 @@ var init_wistia_player = __esm({
2163
2163
  }, {
2164
2164
  key: "setMediaDataSource",
2165
2165
  value: function setMediaDataSource(data) {
2166
- var _data$embedOptions;
2166
+ var _cloneDeep;
2167
2167
  _classPrivateFieldSet2(_sourceMediaData, this, data);
2168
- _classPrivateFieldGet2(_sourceEmbedOptions, this).mediaDataOptions = (_data$embedOptions = data.embedOptions) !== null && _data$embedOptions !== void 0 ? _data$embedOptions : {};
2168
+ _classPrivateFieldGet2(_sourceEmbedOptions, this).mediaDataOptions = (_cloneDeep = lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1___default()(data.embedOptions)) !== null && _cloneDeep !== void 0 ? _cloneDeep : {};
2169
2169
  _assertClassBrand2(_PlayerDataHandler_brand, this, _updatePlayerMediaData).call(this);
2170
2170
  }
2171
2171
  /**
@@ -4334,6 +4334,9 @@ var init_wistia_player = __esm({
4334
4334
  });
4335
4335
  };
4336
4336
  }
4337
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.playlistMethods == null) {
4338
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.playlistMethods = /* @__PURE__ */ new Map();
4339
+ }
4337
4340
  if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.PublicApi == null) {
4338
4341
  _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.PublicApi = null;
4339
4342
  }
@@ -9300,7 +9303,7 @@ var init_wistia_player = __esm({
9300
9303
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9301
9304
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9302
9305
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9303
- var TAGGED_VERSION = "0.0.31";
9306
+ var TAGGED_VERSION = "0.0.33";
9304
9307
  var DEFAULT_PROTOCOL = function() {
9305
9308
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9306
9309
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -7,7 +7,7 @@ import {
7
7
  import { forwardRef, Suspense, lazy } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  var WistiaPlayerWrapper = lazy(
10
- async () => import("./WistiaPlayerWrapper-BUHKJYDP.mjs").then((module) => ({
10
+ async () => import("./WistiaPlayerWrapper-3YCOBX7I.mjs").then((module) => ({
11
11
  default: module.WistiaPlayerWrapper
12
12
  }))
13
13
  );
@@ -32,7 +32,7 @@ var WistiaPlayerWrapper = forwardRef(
32
32
  setSwatchAspectRatio(ratio);
33
33
  });
34
34
  }
35
- void import("./wistia-player-GT7554PH.mjs").then(() => {
35
+ void import("./wistia-player-YHIYVRWK.mjs").then(() => {
36
36
  setIsWistiaPlayerImported(true);
37
37
  });
38
38
  void customElements.whenDefined("wistia-player").then(() => {
@@ -1254,9 +1254,9 @@ var __webpack_modules__ = {
1254
1254
  }, {
1255
1255
  key: "setMediaDataSource",
1256
1256
  value: function setMediaDataSource(data) {
1257
- var _data$embedOptions;
1257
+ var _cloneDeep;
1258
1258
  _classPrivateFieldSet2(_sourceMediaData, this, data);
1259
- _classPrivateFieldGet2(_sourceEmbedOptions, this).mediaDataOptions = (_data$embedOptions = data.embedOptions) !== null && _data$embedOptions !== void 0 ? _data$embedOptions : {};
1259
+ _classPrivateFieldGet2(_sourceEmbedOptions, this).mediaDataOptions = (_cloneDeep = lodash_clonedeep__WEBPACK_IMPORTED_MODULE_1___default()(data.embedOptions)) !== null && _cloneDeep !== void 0 ? _cloneDeep : {};
1260
1260
  _assertClassBrand2(_PlayerDataHandler_brand, this, _updatePlayerMediaData).call(this);
1261
1261
  }
1262
1262
  /**
@@ -3425,6 +3425,9 @@ var __webpack_modules__ = {
3425
3425
  });
3426
3426
  };
3427
3427
  }
3428
+ if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.playlistMethods == null) {
3429
+ _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.playlistMethods = /* @__PURE__ */ new Map();
3430
+ }
3428
3431
  if (_utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.PublicApi == null) {
3429
3432
  _utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.Wistia.PublicApi = null;
3430
3433
  }
@@ -8391,7 +8394,7 @@ var __webpack_modules__ = {
8391
8394
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8392
8395
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8393
8396
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8394
- var TAGGED_VERSION = "0.0.31";
8397
+ var TAGGED_VERSION = "0.0.33";
8395
8398
  var DEFAULT_PROTOCOL = function() {
8396
8399
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8397
8400
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "packageManager": "yarn@4.2.2",
5
5
  "description": "An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.",
6
6
  "keywords": [
@@ -45,7 +45,7 @@
45
45
  "start:dev:yalc": "run build:react:dev --watch --yalc"
46
46
  },
47
47
  "dependencies": {
48
- "@wistia/wistia-player": "0.0.31"
48
+ "@wistia/wistia-player": "0.0.33"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@babel/core": "^7.25.2",