@wistia/wistia-player-react 0.7.7 → 0.7.9

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.
@@ -4139,6 +4139,9 @@ var init_wistia_player = __esm({
4139
4139
  if (productType === "mediaPlayback") {
4140
4140
  return 1e-3;
4141
4141
  }
4142
+ if (productType === "hlsPlayback") {
4143
+ return 0.01;
4144
+ }
4142
4145
  return 1;
4143
4146
  };
4144
4147
  var IS_DEV_ENV = false;
@@ -9198,8 +9201,8 @@ var init_wistia_player = __esm({
9198
9201
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
9199
9202
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
9200
9203
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
9201
- var TAGGED_VERSION = "0.7.7";
9202
- var CURRENT_SHA = "9f6c420231029221f879ca511ea7707fc059dc81";
9204
+ var TAGGED_VERSION = "0.7.9";
9205
+ var CURRENT_SHA = "f687c0d6bd2f62a0c4122049c5b6b997521198c1";
9203
9206
  var DEFAULT_PROTOCOL = (function() {
9204
9207
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
9205
9208
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -12217,6 +12220,11 @@ var init_wistia_player = __esm({
12217
12220
  wlog.notice(errorMessage);
12218
12221
  return Promise.reject(new Error(errorMessage));
12219
12222
  }
12223
+ if (elem.webkitSupportsFullscreen === false) {
12224
+ var _errorMessage = "webkitEnterFullscreen is not currently supported for this element";
12225
+ wlog.notice(_errorMessage);
12226
+ return Promise.reject(new Error(_errorMessage));
12227
+ }
12220
12228
  elem.webkitEnterFullscreen();
12221
12229
  return Promise.resolve();
12222
12230
  }
@@ -8,7 +8,7 @@ import {
8
8
  import { forwardRef, Suspense, lazy, Fragment } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var WistiaPlayerWrapper = lazy(
11
- async () => import("./WistiaPlayerWrapper-SL2YPEYP.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-CFLN3HF6.mjs").then((module) => ({
12
12
  default: module.WistiaPlayerWrapper
13
13
  }))
14
14
  );
@@ -37,7 +37,7 @@ var WistiaPlayerWrapper = forwardRef(
37
37
  setSwatchAspectRatio(ratio);
38
38
  });
39
39
  }
40
- void import("./wistia-player-NAVCQN2P.mjs");
40
+ void import("./wistia-player-VLQ33GBV.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -3237,6 +3237,9 @@ var __webpack_modules__ = {
3237
3237
  if (productType === "mediaPlayback") {
3238
3238
  return 1e-3;
3239
3239
  }
3240
+ if (productType === "hlsPlayback") {
3241
+ return 0.01;
3242
+ }
3240
3243
  return 1;
3241
3244
  };
3242
3245
  var IS_DEV_ENV = false;
@@ -8296,8 +8299,8 @@ var __webpack_modules__ = {
8296
8299
  var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
8297
8300
  var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
8298
8301
  var SSL_EMBED_HOST = "embed-ssl.wistia.com";
8299
- var TAGGED_VERSION = "0.7.7";
8300
- var CURRENT_SHA = "9f6c420231029221f879ca511ea7707fc059dc81";
8302
+ var TAGGED_VERSION = "0.7.9";
8303
+ var CURRENT_SHA = "f687c0d6bd2f62a0c4122049c5b6b997521198c1";
8301
8304
  var DEFAULT_PROTOCOL = (function() {
8302
8305
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
8303
8306
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
@@ -11315,6 +11318,11 @@ var __webpack_modules__ = {
11315
11318
  wlog.notice(errorMessage);
11316
11319
  return Promise.reject(new Error(errorMessage));
11317
11320
  }
11321
+ if (elem.webkitSupportsFullscreen === false) {
11322
+ var _errorMessage = "webkitEnterFullscreen is not currently supported for this element";
11323
+ wlog.notice(_errorMessage);
11324
+ return Promise.reject(new Error(_errorMessage));
11325
+ }
11318
11326
  elem.webkitEnterFullscreen();
11319
11327
  return Promise.resolve();
11320
11328
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.7.7",
3
+ "version": "0.7.9",
4
4
  "packageManager": "yarn@4.13.0",
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": [
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@wistia/type-guards": "^0.9.3",
49
- "@wistia/wistia-player": "0.7.7"
49
+ "@wistia/wistia-player": "0.7.9"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",