@wistia/wistia-player 0.6.21 → 0.6.22
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wistiaQueue.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/wistiaQueue.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,
|
|
1
|
+
{"version":3,"file":"wistiaQueue.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/wistiaQueue.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,IA+BxC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAO,IAKlC,CAAC"}
|
package/dist/wistia-player.js
CHANGED
|
@@ -891,6 +891,12 @@ var maybeStartWistiaQueue = function maybeStartWistiaQueue() {
|
|
|
891
891
|
return;
|
|
892
892
|
}
|
|
893
893
|
wistiaQueue = setInterval(function () {
|
|
894
|
+
// Bail if window is gone (e.g., jsdom torn down between vitest tests
|
|
895
|
+
// while the interval is still alive in Node). Without this, the timer
|
|
896
|
+
// fires "ReferenceError: window is not defined" and breaks the test run.
|
|
897
|
+
if (typeof window === 'undefined') {
|
|
898
|
+
return;
|
|
899
|
+
}
|
|
894
900
|
var queue = window._wq;
|
|
895
901
|
if (!queue || queue.length === 0) {
|
|
896
902
|
return;
|
|
@@ -7233,8 +7239,8 @@ var PROD_EMBED_HOST = 'embed.wistia.com';
|
|
|
7233
7239
|
var PROD_SSL_EMBED_HOST = 'embed-ssl.wistia.com';
|
|
7234
7240
|
var PROD_FASTLY_SSL_HOST = 'embed-fastly.wistia.com';
|
|
7235
7241
|
var SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7236
|
-
var TAGGED_VERSION = "0.6.
|
|
7237
|
-
var CURRENT_SHA = "
|
|
7242
|
+
var TAGGED_VERSION = "0.6.22" || 0;
|
|
7243
|
+
var CURRENT_SHA = "64a9c33211f1b8c5f13be3306d44e2f441ef4766" || 0;
|
|
7238
7244
|
var DEFAULT_PROTOCOL = function () {
|
|
7239
7245
|
if (typeof window !== 'undefined' && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location) {
|
|
7240
7246
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__/* .root */ .z.location.protocol;
|