@wistia/wistia-player-react 0.0.13 → 0.0.14
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/WistiaPlayer.cjs
CHANGED
|
@@ -8673,7 +8673,7 @@ var init_wistia_player = __esm({
|
|
|
8673
8673
|
case 0:
|
|
8674
8674
|
options = _args.length > 1 && _args[1] !== void 0 ? _args[1] : {};
|
|
8675
8675
|
host = (_options$host = options.host) !== null && _options$host !== void 0 ? _options$host : (0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.eV1HostWithPort)();
|
|
8676
|
-
taggedVersion = "0.0.
|
|
8676
|
+
taggedVersion = "0.0.14";
|
|
8677
8677
|
if (!(taggedVersion !== "" && taggedVersion.length > 0 && options.mediaData !== true)) {
|
|
8678
8678
|
_context.next = 5;
|
|
8679
8679
|
break;
|
|
@@ -14414,7 +14414,7 @@ var init_wistia_player = __esm({
|
|
|
14414
14414
|
if (this.isValidKey(this._eventKey)) {
|
|
14415
14415
|
return this._eventKey;
|
|
14416
14416
|
}
|
|
14417
|
-
this._eventKey = uniqId("
|
|
14417
|
+
this._eventKey = uniqId("5e4d2ebe74d61fee683cf60acf084d99".substring(0, 7) + "_");
|
|
14418
14418
|
this.publicApi.trigger("eventkeychange", this._eventKey);
|
|
14419
14419
|
return this._eventKey;
|
|
14420
14420
|
};
|
|
@@ -15861,7 +15861,7 @@ var init_wistia_player = __esm({
|
|
|
15861
15861
|
var first = (0, _util_getOrSetIsFirst_js__WEBPACK_IMPORTED_MODULE_3__.u)(_this.hashedId, _ds_index_js__WEBPACK_IMPORTED_MODULE_2__.p.Scope.LIVE_EVENT, "load");
|
|
15862
15862
|
_classPrivateFieldSet(_playSession, _this, _ds_index_js__WEBPACK_IMPORTED_MODULE_2__.p.load(_classPrivateFieldGet(_clockStart, _this), {
|
|
15863
15863
|
visitor_key: _classPrivateFieldGet(_api, _this).visitorKey(),
|
|
15864
|
-
session_key: (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_5__.b)("".concat("
|
|
15864
|
+
session_key: (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_5__.b)("".concat("5e4d2ebe74d61fee683cf60acf084d99".substring(0, 7), "_")),
|
|
15865
15865
|
embed_url: _classPrivateFieldGet(_api, _this)._attrs.pageUrl,
|
|
15866
15866
|
referrer_url: _classPrivateFieldGet(_api, _this)._attrs.referrerUrl,
|
|
15867
15867
|
account_id: mediaData.accountId,
|
|
@@ -20055,7 +20055,7 @@ var init_wistia_player = __esm({
|
|
|
20055
20055
|
}, {
|
|
20056
20056
|
key: "generate",
|
|
20057
20057
|
value: function generate() {
|
|
20058
|
-
return (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_4__.b)("".concat("
|
|
20058
|
+
return (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_4__.b)("".concat("5e4d2ebe74d61fee683cf60acf084d99".substring(0, 7), "_"));
|
|
20059
20059
|
}
|
|
20060
20060
|
}]);
|
|
20061
20061
|
}();
|
|
@@ -26921,7 +26921,7 @@ var init_wistia_player = __esm({
|
|
|
26921
26921
|
Object.keys(optionSources).forEach(function(key) {
|
|
26922
26922
|
optionSources[key] = ensureOptionsAreNonCircular(optionSources[key]);
|
|
26923
26923
|
});
|
|
26924
|
-
var playerVersion = "0.0.
|
|
26924
|
+
var playerVersion = "0.0.14".length > 0 ? "0.0.14" : _utilities_player_version_js__WEBPACK_IMPORTED_MODULE_44__.H;
|
|
26925
26925
|
var data = {
|
|
26926
26926
|
player_version: playerVersion,
|
|
26927
26927
|
media_key: this._mediaData.mediaKey,
|
|
@@ -40473,7 +40473,7 @@ var init_wistia_player = __esm({
|
|
|
40473
40473
|
/* harmony export */
|
|
40474
40474
|
});
|
|
40475
40475
|
var runScript = function runScript2(src2, timeout) {
|
|
40476
|
-
var taggedVersion = "0.0.
|
|
40476
|
+
var taggedVersion = "0.0.14";
|
|
40477
40477
|
return new Promise(function(resolve, reject) {
|
|
40478
40478
|
if (timeout == null) {
|
|
40479
40479
|
timeout = 8e3;
|
package/dist/WistiaPlayer.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultSwatchCSSProperties,
|
|
3
3
|
getMergedEmbedOption
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2VCLPCJ6.mjs";
|
|
5
5
|
|
|
6
6
|
// src/WistiaPlayer.tsx
|
|
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-
|
|
10
|
+
async () => import("./WistiaPlayerWrapper-SEV76JF5.mjs").then((module) => ({
|
|
11
11
|
default: module.WistiaPlayerWrapper
|
|
12
12
|
}))
|
|
13
13
|
);
|
|
@@ -8631,7 +8631,7 @@ var __webpack_modules__ = {
|
|
|
8631
8631
|
case 0:
|
|
8632
8632
|
options = _args.length > 1 && _args[1] !== void 0 ? _args[1] : {};
|
|
8633
8633
|
host = (_options$host = options.host) !== null && _options$host !== void 0 ? _options$host : (0, _hosts_js__WEBPACK_IMPORTED_MODULE_0__.eV1HostWithPort)();
|
|
8634
|
-
taggedVersion = "0.0.
|
|
8634
|
+
taggedVersion = "0.0.14";
|
|
8635
8635
|
if (!(taggedVersion !== "" && taggedVersion.length > 0 && options.mediaData !== true)) {
|
|
8636
8636
|
_context.next = 5;
|
|
8637
8637
|
break;
|
|
@@ -14372,7 +14372,7 @@ var __webpack_modules__ = {
|
|
|
14372
14372
|
if (this.isValidKey(this._eventKey)) {
|
|
14373
14373
|
return this._eventKey;
|
|
14374
14374
|
}
|
|
14375
|
-
this._eventKey = uniqId("
|
|
14375
|
+
this._eventKey = uniqId("5e4d2ebe74d61fee683cf60acf084d99".substring(0, 7) + "_");
|
|
14376
14376
|
this.publicApi.trigger("eventkeychange", this._eventKey);
|
|
14377
14377
|
return this._eventKey;
|
|
14378
14378
|
};
|
|
@@ -15819,7 +15819,7 @@ var __webpack_modules__ = {
|
|
|
15819
15819
|
var first = (0, _util_getOrSetIsFirst_js__WEBPACK_IMPORTED_MODULE_3__.u)(_this.hashedId, _ds_index_js__WEBPACK_IMPORTED_MODULE_2__.p.Scope.LIVE_EVENT, "load");
|
|
15820
15820
|
_classPrivateFieldSet(_playSession, _this, _ds_index_js__WEBPACK_IMPORTED_MODULE_2__.p.load(_classPrivateFieldGet(_clockStart, _this), {
|
|
15821
15821
|
visitor_key: _classPrivateFieldGet(_api, _this).visitorKey(),
|
|
15822
|
-
session_key: (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_5__.b)("".concat("
|
|
15822
|
+
session_key: (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_5__.b)("".concat("5e4d2ebe74d61fee683cf60acf084d99".substring(0, 7), "_")),
|
|
15823
15823
|
embed_url: _classPrivateFieldGet(_api, _this)._attrs.pageUrl,
|
|
15824
15824
|
referrer_url: _classPrivateFieldGet(_api, _this)._attrs.referrerUrl,
|
|
15825
15825
|
account_id: mediaData.accountId,
|
|
@@ -20013,7 +20013,7 @@ var __webpack_modules__ = {
|
|
|
20013
20013
|
}, {
|
|
20014
20014
|
key: "generate",
|
|
20015
20015
|
value: function generate() {
|
|
20016
|
-
return (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_4__.b)("".concat("
|
|
20016
|
+
return (0, utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_4__.b)("".concat("5e4d2ebe74d61fee683cf60acf084d99".substring(0, 7), "_"));
|
|
20017
20017
|
}
|
|
20018
20018
|
}]);
|
|
20019
20019
|
}();
|
|
@@ -26879,7 +26879,7 @@ var __webpack_modules__ = {
|
|
|
26879
26879
|
Object.keys(optionSources).forEach(function(key) {
|
|
26880
26880
|
optionSources[key] = ensureOptionsAreNonCircular(optionSources[key]);
|
|
26881
26881
|
});
|
|
26882
|
-
var playerVersion = "0.0.
|
|
26882
|
+
var playerVersion = "0.0.14".length > 0 ? "0.0.14" : _utilities_player_version_js__WEBPACK_IMPORTED_MODULE_44__.H;
|
|
26883
26883
|
var data = {
|
|
26884
26884
|
player_version: playerVersion,
|
|
26885
26885
|
media_key: this._mediaData.mediaKey,
|
|
@@ -40431,7 +40431,7 @@ var __webpack_modules__ = {
|
|
|
40431
40431
|
/* harmony export */
|
|
40432
40432
|
});
|
|
40433
40433
|
var runScript = function runScript2(src2, timeout) {
|
|
40434
|
-
var taggedVersion = "0.0.
|
|
40434
|
+
var taggedVersion = "0.0.14";
|
|
40435
40435
|
return new Promise(function(resolve, reject) {
|
|
40436
40436
|
if (timeout == null) {
|
|
40437
40437
|
timeout = 8e3;
|
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.14",
|
|
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": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build:prod": "npm-run-all 'prebuild' 'build:react:base:prod' 'build:types'"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@wistia/wistia-player": "0.0.
|
|
35
|
+
"@wistia/wistia-player": "0.0.14"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/core": "^7.24.5",
|