@mux/mux-player 2.9.0 → 2.9.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.
@@ -380,7 +380,10 @@ var gerwig_default = `<template id="media-theme-gerwig">
380
380
  [breakpointsm]:is([mediahasplayed], :not([mediapaused])):not([audio])
381
381
  .center-controls.pre-playback
382
382
  media-play-button {
383
- animation: 0.3s linear forwards pre-play-hide;
383
+ /* Using \`forwards\` would lead to a laggy UI after the animation got in the end state */
384
+ animation: 0.3s linear pre-play-hide;
385
+ opacity: 0;
386
+ pointer-events: none;
384
387
  }
385
388
 
386
389
  .autoplay-unmute {
@@ -380,7 +380,10 @@ var mediaThemeGerwig = (() => {
380
380
  [breakpointsm]:is([mediahasplayed], :not([mediapaused])):not([audio])
381
381
  .center-controls.pre-playback
382
382
  media-play-button {
383
- animation: 0.3s linear forwards pre-play-hide;
383
+ /* Using \`forwards\` would lead to a laggy UI after the animation got in the end state */
384
+ animation: 0.3s linear pre-play-hide;
385
+ opacity: 0;
386
+ pointer-events: none;
384
387
  }
385
388
 
386
389
  .autoplay-unmute {
@@ -355,7 +355,10 @@ var gerwig_default = `<template id="media-theme-gerwig">
355
355
  [breakpointsm]:is([mediahasplayed], :not([mediapaused])):not([audio])
356
356
  .center-controls.pre-playback
357
357
  media-play-button {
358
- animation: 0.3s linear forwards pre-play-hide;
358
+ /* Using \`forwards\` would lead to a laggy UI after the animation got in the end state */
359
+ animation: 0.3s linear pre-play-hide;
360
+ opacity: 0;
361
+ pointer-events: none;
359
362
  }
360
363
 
361
364
  .autoplay-unmute {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mux/mux-player",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "An open source Mux player web component that Just Works™",
5
5
  "homepage": "https://mux.com/player",
6
6
  "keywords": [
@@ -94,8 +94,8 @@
94
94
  "publish-release": "../../scripts/publish.sh"
95
95
  },
96
96
  "dependencies": {
97
- "@mux/mux-video": "0.20.1",
98
- "@mux/playback-core": "0.25.1",
97
+ "@mux/mux-video": "0.20.2",
98
+ "@mux/playback-core": "0.25.2",
99
99
  "media-chrome": "~3.2.5"
100
100
  },
101
101
  "devDependencies": {
@@ -116,5 +116,5 @@
116
116
  "shx": "^0.3.4",
117
117
  "typescript": "^4.9.4"
118
118
  },
119
- "gitHead": "31bf5057d37d4e57b630012fc09d52daedb2973a"
119
+ "gitHead": "94210d8ddb22e9d15369329ced978781eebf3402"
120
120
  }