@wistia/wistia-player-react 0.7.32 → 0.8.1

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 CHANGED
@@ -1,5 +1,44 @@
1
1
  # @wistia/wistia-player-react
2
2
 
3
+ ## 0.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f764039: Removing or replacing a player while its captions are still loading no longer throws an error.
8
+ - 74c754c: The emoji reaction bar works from the keyboard: it's a single tab stop, the arrow keys move between emoji, and Escape closes an open tray. Screen readers announce it as a reactions toolbar and read each button by its emoji.
9
+ - 6b2d599: Removing a plugin that was never attached to its player, such as Google Analytics or Facebook Ads, no longer throws an error on the page.
10
+ - 4603727: The published types now include the `controlBarDistance` attribute. How the player applies rounded player settings is unchanged.
11
+ - Updated dependencies [f764039]
12
+ - Updated dependencies [74c754c]
13
+ - Updated dependencies [6b2d599]
14
+ - Updated dependencies [4603727]
15
+ - @wistia/wistia-player@0.8.1
16
+
17
+ ## 0.8.0
18
+
19
+ ### Minor Changes
20
+
21
+ - fe34e93: After a viewer unlocks a password-protected video, the player now includes the password, or the channel's credentials for videos in a password-protected channel, when it loads captions. Upgrade to this version before captions for password-protected videos start requiring the password, or captions will stop loading for those videos on older versions.
22
+
23
+ ### Patch Changes
24
+
25
+ - 48c27a7: Compact annotations give their images more room while keeping them centered. Compact and large annotations have tighter spacing between the heading and supporting detail, and large annotations have more space below the text.
26
+ - Updated dependencies [48c27a7]
27
+ - Updated dependencies [fe34e93]
28
+ - @wistia/wistia-player@0.8.0
29
+
30
+ ## 0.7.33
31
+
32
+ ### Patch Changes
33
+
34
+ - 3a69683: Emoji reactions can float over the video, or any element, with a `<wistia-emoji-reactions-overlay>` named in the bar's `overlay-dom-id`. Clicks pass through it, and `avoid` keeps reactions clear of an area.
35
+ - ca97130: When the viewer prefers reduced motion, emoji reactions fade in and out in place, on the reaction bar and in its overlay, instead of being hidden. The reaction tray and fan also fade open and closed instead of sliding or springing.
36
+ - ccf27f8: Reactions passed to the emoji reactions bar's `addReactions` now stream in over about a second instead of appearing all at once, in the bar or in its overlay. No more than `maxVisibleReactions` floaters are on screen at a time; past that, the rest are dropped, and a burst that is cut down keeps a share of each emoji.
37
+ - Updated dependencies [3a69683]
38
+ - Updated dependencies [ca97130]
39
+ - Updated dependencies [ccf27f8]
40
+ - @wistia/wistia-player@0.7.33
41
+
3
42
  ## 0.7.32
4
43
 
5
44
  ### Patch Changes
@@ -7629,8 +7629,8 @@ var init_wistia_player = __esm({
7629
7629
  const PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
7630
7630
  const PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
7631
7631
  const SSL_EMBED_HOST = "embed-ssl.wistia.com";
7632
- const TAGGED_VERSION = "0.7.32";
7633
- const CURRENT_SHA = "c014139e2b0142411cfdefe5129e87a46bac08c4";
7632
+ const TAGGED_VERSION = "0.8.1";
7633
+ const CURRENT_SHA = "c78c98d62de05b49e2415ee676b30c075b0800bb";
7634
7634
  const DEFAULT_PROTOCOL = (() => {
7635
7635
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
7636
7636
  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-WENDXUR5.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-EMO5P7JE.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-EGHR3CG5.mjs");
40
+ void import("./wistia-player-2WHP2WYF.mjs");
41
41
  void customElements.whenDefined("wistia-player").then(() => {
42
42
  setIsWistiaPlayerDefined(true);
43
43
  });
@@ -6982,8 +6982,8 @@ var __webpack_modules__ = {
6982
6982
  const PROD_SSL_EMBED_HOST = "embed-ssl.wistia.com";
6983
6983
  const PROD_FASTLY_SSL_HOST = "embed-fastly.wistia.com";
6984
6984
  const SSL_EMBED_HOST = "embed-ssl.wistia.com";
6985
- const TAGGED_VERSION = "0.7.32";
6986
- const CURRENT_SHA = "c014139e2b0142411cfdefe5129e87a46bac08c4";
6985
+ const TAGGED_VERSION = "0.8.1";
6986
+ const CURRENT_SHA = "c78c98d62de05b49e2415ee676b30c075b0800bb";
6987
6987
  const DEFAULT_PROTOCOL = (() => {
6988
6988
  if (typeof window !== "undefined" && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z === window && utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location) {
6989
6989
  return utilities_root_js__WEBPACK_IMPORTED_MODULE_0__.z.location.protocol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/wistia-player-react",
3
- "version": "0.7.32",
3
+ "version": "0.8.1",
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/utils": "^1.0.1",
49
- "@wistia/wistia-player": "0.7.32"
49
+ "@wistia/wistia-player": "0.8.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",