@wistia/wistia-player-react 0.0.73 → 0.0.74
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.
|
@@ -9662,7 +9662,7 @@ var init_wistia_player = __esm({
|
|
|
9662
9662
|
var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
9663
9663
|
var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
9664
9664
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
9665
|
-
var TAGGED_VERSION = "0.0.
|
|
9665
|
+
var TAGGED_VERSION = "0.0.74";
|
|
9666
9666
|
var DEFAULT_PROTOCOL = function() {
|
|
9667
9667
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
9668
9668
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -15372,7 +15372,7 @@ var init_WistiaPlayerWrapper = __esm({
|
|
|
15372
15372
|
shouldLoadSwatch: swatch,
|
|
15373
15373
|
roundedPlayer
|
|
15374
15374
|
});
|
|
15375
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
15375
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.Fragment, { children: [
|
|
15376
15376
|
shouldDisplaySwatch && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { dangerouslySetInnerHTML: { __html: styleBlock } }),
|
|
15377
15377
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
15378
15378
|
"wistia-player",
|
|
@@ -15429,7 +15429,7 @@ var WistiaPlayer2 = (0, import_react2.forwardRef)(
|
|
|
15429
15429
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
15430
15430
|
import_react2.Suspense,
|
|
15431
15431
|
{
|
|
15432
|
-
fallback: shouldDisplaySwatch && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
15432
|
+
fallback: shouldDisplaySwatch && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react2.Fragment, { children: [
|
|
15433
15433
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("style", { children: styleBlock }),
|
|
15434
15434
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("wistia-player", { "media-id": mediaId, style })
|
|
15435
15435
|
] }),
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-XE6LP5SH.mjs";
|
|
5
5
|
|
|
6
6
|
// src/WistiaPlayer.tsx
|
|
7
|
-
import { forwardRef, Suspense, lazy } from "react";
|
|
8
|
-
import {
|
|
7
|
+
import { forwardRef, Suspense, lazy, Fragment } from "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
var WistiaPlayerWrapper = lazy(
|
|
10
|
-
async () => import("./WistiaPlayerWrapper-
|
|
10
|
+
async () => import("./WistiaPlayerWrapper-KHSWG6VI.mjs").then((module) => ({
|
|
11
11
|
default: module.WistiaPlayerWrapper
|
|
12
12
|
}))
|
|
13
13
|
);
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
} from "./chunk-XE6LP5SH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/WistiaPlayerWrapper.tsx
|
|
10
|
-
import { forwardRef, useEffect, useRef, useState } from "react";
|
|
11
|
-
import {
|
|
10
|
+
import { forwardRef, useEffect, useRef, useState, Fragment } from "react";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
var WistiaPlayerWrapper = forwardRef(
|
|
13
13
|
(props, ref) => {
|
|
14
14
|
const { aspect, className, embedHost, id, mediaId, roundedPlayer, swatch, style } = props;
|
|
@@ -22,7 +22,7 @@ var WistiaPlayerWrapper = forwardRef(
|
|
|
22
22
|
setSwatchAspectRatio(ratio);
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
void import("./wistia-player-
|
|
25
|
+
void import("./wistia-player-5BFQEJJ2.mjs");
|
|
26
26
|
void customElements.whenDefined("wistia-player").then(() => {
|
|
27
27
|
setIsWistiaPlayerDefined(true);
|
|
28
28
|
});
|
|
@@ -8738,7 +8738,7 @@ var __webpack_modules__ = {
|
|
|
8738
8738
|
var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
8739
8739
|
var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
8740
8740
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
8741
|
-
var TAGGED_VERSION = "0.0.
|
|
8741
|
+
var TAGGED_VERSION = "0.0.74";
|
|
8742
8742
|
var DEFAULT_PROTOCOL = function() {
|
|
8743
8743
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
8744
8744
|
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.
|
|
3
|
+
"version": "0.0.74",
|
|
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.
|
|
48
|
+
"@wistia/wistia-player": "0.0.74"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@babel/core": "^7.25.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"npm-run-all": "^4.1.5",
|
|
61
61
|
"react": "^18.3.1",
|
|
62
62
|
"read-package-json": "^7.0.1",
|
|
63
|
-
"typescript": "5.
|
|
63
|
+
"typescript": "5.7.2",
|
|
64
64
|
"zx": "^8.2.2"
|
|
65
65
|
}
|
|
66
66
|
}
|