@wistia/wistia-player-react 0.0.68 → 0.0.70
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.
|
@@ -9645,7 +9645,7 @@ var init_wistia_player = __esm({
|
|
|
9645
9645
|
var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
9646
9646
|
var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
9647
9647
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
9648
|
-
var TAGGED_VERSION = "0.0.
|
|
9648
|
+
var TAGGED_VERSION = "0.0.70";
|
|
9649
9649
|
var DEFAULT_PROTOCOL = function() {
|
|
9650
9650
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
9651
9651
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -15183,6 +15183,11 @@ var init_wistia_player = __esm({
|
|
|
15183
15183
|
});
|
|
15184
15184
|
if (this.shadowRoot) {
|
|
15185
15185
|
var _ref14;
|
|
15186
|
+
if (this.wistiaPopover && this.popoverContent === "link") {
|
|
15187
|
+
var slot = document.createElement("slot");
|
|
15188
|
+
slot.name = "".concat(this.uniqueId, "-popover-link");
|
|
15189
|
+
this.shadowRoot.appendChild(slot);
|
|
15190
|
+
}
|
|
15186
15191
|
_classPrivateFieldSet(_preloadAspectRatio, this, (_ref14 = _assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "aspect")) !== null && _ref14 !== void 0 ? _ref14 : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_25__.R);
|
|
15187
15192
|
_classPrivateFieldSet(_preactRoot, this, document.createElement("div"));
|
|
15188
15193
|
_assertClassBrand(_WistiaPlayer_brand, this, _renderEmbedTemplate).call(this);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import { forwardRef, Suspense, lazy } from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
var WistiaPlayerWrapper = lazy(
|
|
10
|
-
async () => import("./WistiaPlayerWrapper-
|
|
10
|
+
async () => import("./WistiaPlayerWrapper-XE4TT2UQ.mjs").then((module) => ({
|
|
11
11
|
default: module.WistiaPlayerWrapper
|
|
12
12
|
}))
|
|
13
13
|
);
|
|
@@ -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-TBYCUBFW.mjs");
|
|
26
26
|
void customElements.whenDefined("wistia-player").then(() => {
|
|
27
27
|
setIsWistiaPlayerDefined(true);
|
|
28
28
|
});
|
|
@@ -8721,7 +8721,7 @@ var __webpack_modules__ = {
|
|
|
8721
8721
|
var PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
8722
8722
|
var PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
8723
8723
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
8724
|
-
var TAGGED_VERSION = "0.0.
|
|
8724
|
+
var TAGGED_VERSION = "0.0.70";
|
|
8725
8725
|
var DEFAULT_PROTOCOL = function() {
|
|
8726
8726
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
8727
8727
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -14718,6 +14718,11 @@ var WistiaPlayer = /* @__PURE__ */ function(_HTMLElement) {
|
|
|
14718
14718
|
});
|
|
14719
14719
|
if (this.shadowRoot) {
|
|
14720
14720
|
var _ref14;
|
|
14721
|
+
if (this.wistiaPopover && this.popoverContent === "link") {
|
|
14722
|
+
var slot = document.createElement("slot");
|
|
14723
|
+
slot.name = "".concat(this.uniqueId, "-popover-link");
|
|
14724
|
+
this.shadowRoot.appendChild(slot);
|
|
14725
|
+
}
|
|
14721
14726
|
_classPrivateFieldSet(_preloadAspectRatio, this, (_ref14 = _assertClassBrand(_WistiaPlayer_brand, this, _getValueFromAttribute).call(this, "aspect")) !== null && _ref14 !== void 0 ? _ref14 : _utilities_constants_ts__WEBPACK_IMPORTED_MODULE_25__.R);
|
|
14722
14727
|
_classPrivateFieldSet(_preactRoot, this, document.createElement("div"));
|
|
14723
14728
|
_assertClassBrand(_WistiaPlayer_brand, this, _renderEmbedTemplate).call(this);
|
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.70",
|
|
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.70"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@babel/core": "^7.25.2",
|