@wistia/wistia-player-react 0.8.0 → 0.8.3

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,45 @@
1
1
  # @wistia/wistia-player-react
2
2
 
3
+ ## 0.8.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 9d45dfe: The published types now include the `captionsBackgroundColor`, `captionsFontFamily`, `captionsTextColor` and `captionsTextSize` attributes. How the player applies captions styling settings is unchanged.
8
+ - Updated dependencies [9d45dfe]
9
+ - @wistia/wistia-player@0.8.3
10
+
11
+ ## 0.8.2
12
+
13
+ ### Patch Changes
14
+
15
+ - f7b478c: The captions display no longer throws an error when the player's controls re-render after the captions plugin has gone away.
16
+ - a64187e: Screen readers now announce each item in a CTA carousel as "Seek to <heading>" instead of only its heading, so it is clear the button moves the video.
17
+ - 1e89f30: Fixed the CTA carousel highlighting the previous card after a seek to the exact start of a card while the video is paused. The card that starts at the new time is now highlighted, matching the link shown on the player.
18
+ - dfe21fe: The player's emoji reactions bar now cleans up the `emojiList` option before showing it: entries that aren't a single emoji are skipped, repeats are dropped, and only the first six are kept.
19
+ - a299276: Fixed an error when replacing a video whose stream had already failed to load. The swap now goes through without the player throwing.
20
+ - 64c4eb2: Transcripts for password-protected media now wait for the player to be unlocked. Until then the transcript embed shows a short locked message instead of the text, and once the viewer enters the password it loads without a page refresh. Transcript requests and the transcript download links, including the one in the audio player, send the password the player was unlocked with.
21
+ - Updated dependencies [f7b478c]
22
+ - Updated dependencies [a64187e]
23
+ - Updated dependencies [1e89f30]
24
+ - Updated dependencies [dfe21fe]
25
+ - Updated dependencies [a299276]
26
+ - Updated dependencies [64c4eb2]
27
+ - @wistia/wistia-player@0.8.2
28
+
29
+ ## 0.8.1
30
+
31
+ ### Patch Changes
32
+
33
+ - f764039: Removing or replacing a player while its captions are still loading no longer throws an error.
34
+ - 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.
35
+ - 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.
36
+ - 4603727: The published types now include the `controlBarDistance` attribute. How the player applies rounded player settings is unchanged.
37
+ - Updated dependencies [f764039]
38
+ - Updated dependencies [74c754c]
39
+ - Updated dependencies [6b2d599]
40
+ - Updated dependencies [4603727]
41
+ - @wistia/wistia-player@0.8.1
42
+
3
43
  ## 0.8.0
4
44
 
5
45
  ### Minor 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.8.0";
7633
- const CURRENT_SHA = "c4dfb97c74cd43828ca1b66be73cc7c693ee8695";
7632
+ const TAGGED_VERSION = "0.8.3";
7633
+ const CURRENT_SHA = "7e28a3678323b43bc66e7146d5e95a444ad30a5e";
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-W36RWFLW.mjs").then((module) => ({
11
+ async () => import("./WistiaPlayerWrapper-DSM4BFDZ.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-LSFV2IRD.mjs");
40
+ void import("./wistia-player-465QVAAV.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.8.0";
6986
- const CURRENT_SHA = "c4dfb97c74cd43828ca1b66be73cc7c693ee8695";
6985
+ const TAGGED_VERSION = "0.8.3";
6986
+ const CURRENT_SHA = "7e28a3678323b43bc66e7146d5e95a444ad30a5e";
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.8.0",
3
+ "version": "0.8.3",
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.8.0"
49
+ "@wistia/wistia-player": "0.8.3"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18.0.0 <20.0.0",