@wistia/wistia-player 0.0.3 → 0.0.4
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/wistia-player.js +6 -6
- package/package.json +1 -1
package/dist/wistia-player.js
CHANGED
|
@@ -6326,7 +6326,7 @@ var dynamicImport = /*#__PURE__*/function () {
|
|
|
6326
6326
|
case 0:
|
|
6327
6327
|
options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
|
|
6328
6328
|
host = (_options$host = options.host) !== null && _options$host !== void 0 ? _options$host : (0,_hosts_js__WEBPACK_IMPORTED_MODULE_0__.eV1HostWithPort)(); // @ts-expect-error webpack should resolve this for us
|
|
6329
|
-
taggedVersion = "0.0.
|
|
6329
|
+
taggedVersion = "0.0.4";
|
|
6330
6330
|
if (!(taggedVersion !== '' && taggedVersion.length > 0 && options.mediaData !== true)) {
|
|
6331
6331
|
_context.next = 5;
|
|
6332
6332
|
break;
|
|
@@ -12301,7 +12301,7 @@ VideoTrackerSession = (function() {
|
|
|
12301
12301
|
if (this.isValidKey(this._eventKey)) {
|
|
12302
12302
|
return this._eventKey;
|
|
12303
12303
|
}
|
|
12304
|
-
this._eventKey = uniqId(("
|
|
12304
|
+
this._eventKey = uniqId(("730c42e4cbb06a0bbb0a467860387b12".substring(0, 7)) + "_");
|
|
12305
12305
|
this.publicApi.trigger('eventkeychange', this._eventKey);
|
|
12306
12306
|
return this._eventKey;
|
|
12307
12307
|
};
|
|
@@ -14516,7 +14516,7 @@ var LiveMediaTracker = /*#__PURE__*/function () {
|
|
|
14516
14516
|
var first = (0,_util_getOrSetIsFirst_js__WEBPACK_IMPORTED_MODULE_3__/* .getOrSetIsFirst */ .u)(_this.hashedId, _ds_index_js__WEBPACK_IMPORTED_MODULE_2__/* .PlaySession */ .p.Scope.LIVE_EVENT, 'load');
|
|
14517
14517
|
_classPrivateFieldSet(_playSession, _this, _ds_index_js__WEBPACK_IMPORTED_MODULE_2__/* .PlaySession */ .p.load(_classPrivateFieldGet(_clockStart, _this), {
|
|
14518
14518
|
visitor_key: _classPrivateFieldGet(_api, _this).visitorKey(),
|
|
14519
|
-
session_key: (0,utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_5__/* .uniqId */ .b)("".concat("
|
|
14519
|
+
session_key: (0,utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_5__/* .uniqId */ .b)("".concat("730c42e4cbb06a0bbb0a467860387b12".substring(0, 7), "_")),
|
|
14520
14520
|
embed_url: _classPrivateFieldGet(_api, _this)._attrs.pageUrl,
|
|
14521
14521
|
referrer_url: _classPrivateFieldGet(_api, _this)._attrs.referrerUrl,
|
|
14522
14522
|
account_id: mediaData.accountId,
|
|
@@ -18732,7 +18732,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
18732
18732
|
}, {
|
|
18733
18733
|
key: "generate",
|
|
18734
18734
|
value: function generate() {
|
|
18735
|
-
return (0,utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_4__/* .uniqId */ .b)("".concat("
|
|
18735
|
+
return (0,utilities_uniqId_js__WEBPACK_IMPORTED_MODULE_4__/* .uniqId */ .b)("".concat("730c42e4cbb06a0bbb0a467860387b12".substring(0, 7), "_"));
|
|
18736
18736
|
}
|
|
18737
18737
|
}]);
|
|
18738
18738
|
}();
|
|
@@ -24722,7 +24722,7 @@ if (!wistia_namespace_js__WEBPACK_IMPORTED_MODULE_0__/* .Wistia */ .s.VulcanV2Pl
|
|
|
24722
24722
|
});
|
|
24723
24723
|
|
|
24724
24724
|
// Use the tagged version if it's available, otherwise use the fallback player version
|
|
24725
|
-
var playerVersion = true && "0.0.
|
|
24725
|
+
var playerVersion = true && "0.0.4".length > 0 ? "0.0.4" : _utilities_player_version_js__WEBPACK_IMPORTED_MODULE_44__/* .PLAYER_VERSION */ .H;
|
|
24726
24726
|
var data = {
|
|
24727
24727
|
player_version: playerVersion,
|
|
24728
24728
|
media_key: this._mediaData.mediaKey,
|
|
@@ -36310,7 +36310,7 @@ var root = rootTest;
|
|
|
36310
36310
|
// fire and forget.
|
|
36311
36311
|
// run a script and immediately remove it from the DOM.
|
|
36312
36312
|
var runScript = function runScript(src, timeout) {
|
|
36313
|
-
var taggedVersion = "0.0.
|
|
36313
|
+
var taggedVersion = "0.0.4";
|
|
36314
36314
|
return new Promise(function (resolve, reject) {
|
|
36315
36315
|
if (timeout == null) {
|
|
36316
36316
|
timeout = 8000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/wistia-player",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
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": [
|