@wistia/wistia-player-react 0.7.20 → 0.7.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.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/WistiaPlayer.cjs +13 -2
- package/dist/mjs/WistiaPlayer.mjs +1 -1
- package/dist/mjs/{WistiaPlayerWrapper-5HXAIES7.mjs → WistiaPlayerWrapper-TTAJGUKR.mjs} +1 -1
- package/dist/mjs/{wistia-player-RDSKHBYO.mjs → wistia-player-CDIZ467E.mjs} +13 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @wistia/wistia-player-react
|
|
2
2
|
|
|
3
|
+
## 0.7.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e57767a: Fix forms that appear on hover pushing player content around
|
|
8
|
+
- Updated dependencies [e57767a]
|
|
9
|
+
- @wistia/wistia-player@0.7.22
|
|
10
|
+
|
|
11
|
+
## 0.7.21
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 7c04391: Fix annotation collision logic such that it stops grouping annotations so aggressively
|
|
16
|
+
- Updated dependencies [7c04391]
|
|
17
|
+
- Updated dependencies [956acf2]
|
|
18
|
+
- @wistia/wistia-player@0.7.21
|
|
19
|
+
|
|
3
20
|
## 0.7.20
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -329,6 +329,11 @@ async function _initPublicApi(mediaId, options) {
|
|
|
329
329
|
this.removeEventListener("embedded", embeddedCallback);
|
|
330
330
|
});
|
|
331
331
|
_classPrivateFieldSet(_api, this, new _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s.PublicApi(mediaId, options));
|
|
332
|
+
this.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.jQ, {
|
|
333
|
+
detail: {
|
|
334
|
+
mediaId
|
|
335
|
+
}
|
|
336
|
+
}));
|
|
332
337
|
this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.kY, _classPrivateFieldGet(_handleBeforeReplace, this));
|
|
333
338
|
this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.$1, _classPrivateFieldGet(_handleAfterReplace, this));
|
|
334
339
|
_classPrivateFieldGet(_removeEventListeners, this).push(() => {
|
|
@@ -4244,6 +4249,11 @@ var init_wistia_player = __esm({
|
|
|
4244
4249
|
INTERNAL_API_ON_FIND_EVENT
|
|
4245
4250
|
),
|
|
4246
4251
|
/* harmony export */
|
|
4252
|
+
jQ: () => (
|
|
4253
|
+
/* binding */
|
|
4254
|
+
INTERNAL_API_CREATED_EVENT
|
|
4255
|
+
),
|
|
4256
|
+
/* harmony export */
|
|
4247
4257
|
kY: () => (
|
|
4248
4258
|
/* binding */
|
|
4249
4259
|
BEFORE_REPLACE_EVENT
|
|
@@ -4269,6 +4279,7 @@ var init_wistia_player = __esm({
|
|
|
4269
4279
|
const IMPL_CREATED_EVENT = "impl-created";
|
|
4270
4280
|
const INIT_EMBED_EVENT = "initembed";
|
|
4271
4281
|
const INPUT_CONTEXT_CHANGE_EVENT = "input-context-change";
|
|
4282
|
+
const INTERNAL_API_CREATED_EVENT = "internal-api-created";
|
|
4272
4283
|
const INTERNAL_API_ON_FIND_EVENT = "internal-api-on-find";
|
|
4273
4284
|
const LOADED_MEDIA_DATA_EVENT = "loaded-media-data";
|
|
4274
4285
|
const MUTE_CHANGE_EVENT = "mute-change";
|
|
@@ -7653,8 +7664,8 @@ var init_wistia_player = __esm({
|
|
|
7653
7664
|
const PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7654
7665
|
const PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
7655
7666
|
const SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7656
|
-
const TAGGED_VERSION = "0.7.
|
|
7657
|
-
const CURRENT_SHA = "
|
|
7667
|
+
const TAGGED_VERSION = "0.7.22";
|
|
7668
|
+
const CURRENT_SHA = "70a30a76cb2db9be06d0d06d689f4945159a4b64";
|
|
7658
7669
|
const DEFAULT_PROTOCOL = (() => {
|
|
7659
7670
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
7660
7671
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import { forwardRef, Suspense, lazy, Fragment } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
var WistiaPlayerWrapper = lazy(
|
|
11
|
-
async () => import("./WistiaPlayerWrapper-
|
|
11
|
+
async () => import("./WistiaPlayerWrapper-TTAJGUKR.mjs").then((module) => ({
|
|
12
12
|
default: module.WistiaPlayerWrapper
|
|
13
13
|
}))
|
|
14
14
|
);
|
|
@@ -37,7 +37,7 @@ var WistiaPlayerWrapper = forwardRef(
|
|
|
37
37
|
setSwatchAspectRatio(ratio);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
void import("./wistia-player-
|
|
40
|
+
void import("./wistia-player-CDIZ467E.mjs");
|
|
41
41
|
void customElements.whenDefined("wistia-player").then(() => {
|
|
42
42
|
setIsWistiaPlayerDefined(true);
|
|
43
43
|
});
|
|
@@ -3608,6 +3608,11 @@ var __webpack_modules__ = {
|
|
|
3608
3608
|
INTERNAL_API_ON_FIND_EVENT
|
|
3609
3609
|
),
|
|
3610
3610
|
/* harmony export */
|
|
3611
|
+
jQ: () => (
|
|
3612
|
+
/* binding */
|
|
3613
|
+
INTERNAL_API_CREATED_EVENT
|
|
3614
|
+
),
|
|
3615
|
+
/* harmony export */
|
|
3611
3616
|
kY: () => (
|
|
3612
3617
|
/* binding */
|
|
3613
3618
|
BEFORE_REPLACE_EVENT
|
|
@@ -3633,6 +3638,7 @@ var __webpack_modules__ = {
|
|
|
3633
3638
|
const IMPL_CREATED_EVENT = "impl-created";
|
|
3634
3639
|
const INIT_EMBED_EVENT = "initembed";
|
|
3635
3640
|
const INPUT_CONTEXT_CHANGE_EVENT = "input-context-change";
|
|
3641
|
+
const INTERNAL_API_CREATED_EVENT = "internal-api-created";
|
|
3636
3642
|
const INTERNAL_API_ON_FIND_EVENT = "internal-api-on-find";
|
|
3637
3643
|
const LOADED_MEDIA_DATA_EVENT = "loaded-media-data";
|
|
3638
3644
|
const MUTE_CHANGE_EVENT = "mute-change";
|
|
@@ -7017,8 +7023,8 @@ var __webpack_modules__ = {
|
|
|
7017
7023
|
const PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7018
7024
|
const PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
|
|
7019
7025
|
const SSL_EMBED_HOST = "embed-ssl.wistia.com";
|
|
7020
|
-
const TAGGED_VERSION = "0.7.
|
|
7021
|
-
const CURRENT_SHA = "
|
|
7026
|
+
const TAGGED_VERSION = "0.7.22";
|
|
7027
|
+
const CURRENT_SHA = "70a30a76cb2db9be06d0d06d689f4945159a4b64";
|
|
7022
7028
|
const DEFAULT_PROTOCOL = (() => {
|
|
7023
7029
|
if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
|
|
7024
7030
|
return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
|
|
@@ -14263,6 +14269,11 @@ async function _initPublicApi(mediaId, options) {
|
|
|
14263
14269
|
this.removeEventListener("embedded", embeddedCallback);
|
|
14264
14270
|
});
|
|
14265
14271
|
_classPrivateFieldSet(_api, this, new _wistia_namespace_ts__WEBPACK_IMPORTED_MODULE_3__.s.PublicApi(mediaId, options));
|
|
14272
|
+
this.dispatchEvent(new CustomEvent(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.jQ, {
|
|
14273
|
+
detail: {
|
|
14274
|
+
mediaId
|
|
14275
|
+
}
|
|
14276
|
+
}));
|
|
14266
14277
|
this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.kY, _classPrivateFieldGet(_handleBeforeReplace, this));
|
|
14267
14278
|
this.addEventListener(_utilities_eventConstants_ts__WEBPACK_IMPORTED_MODULE_15__.$1, _classPrivateFieldGet(_handleAfterReplace, this));
|
|
14268
14279
|
_classPrivateFieldGet(_removeEventListeners, this).push(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wistia/wistia-player-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.22",
|
|
4
4
|
"packageManager": "yarn@4.18.0",
|
|
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": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@wistia/type-guards": "^0.9.3",
|
|
49
|
-
"@wistia/wistia-player": "0.7.
|
|
49
|
+
"@wistia/wistia-player": "0.7.22"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18.0.0 <20.0.0",
|