@gcorevideo/player 2.28.9 → 2.28.10

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/dist/core.js CHANGED
@@ -49957,7 +49957,7 @@ class Player {
49957
49957
  }
49958
49958
  }
49959
49959
 
49960
- var version$1 = "2.28.9";
49960
+ var version$1 = "2.28.10";
49961
49961
 
49962
49962
  var packages = {
49963
49963
  "node_modules/@clappr/core": {
package/dist/index.css CHANGED
@@ -122,55 +122,51 @@
122
122
  .gplayer-lite-btn::-moz-focus-inner {
123
123
  border: 0;
124
124
  padding: 0;
125
- }.big-mute-icon-wrapper[data-big-mute] {
126
- position: absolute;
127
- z-index: 9998;
128
- background-color: transparent;
129
- display: flex;
130
- justify-content: center;
131
- width: 100%;
132
- height: calc(100% - 50px);
133
- margin: 0 auto;
134
- opacity: 0.75;
135
- transition: opacity 0.1s ease;
136
- pointer-events: auto;
125
+ }.media-control-skin-1 .media-control-item.media-control-gear {
126
+ order: 99;
137
127
  }
138
- .big-mute-icon-wrapper[data-big-mute].hide {
139
- display: none;
128
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-wrapper {
129
+ position: absolute;
130
+ right: 16px;
131
+ bottom: 52px;
132
+ width: 250px;
133
+ min-height: 48px;
134
+ z-index: 9999;
135
+ border-radius: 4px;
136
+ box-shadow: 0 0 1px 1px var(--gplayer-mc-popup-border-color);
140
137
  }
141
- .big-mute-icon-wrapper[data-big-mute]:hover {
142
- cursor: pointer;
138
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-options-list {
139
+ padding: 8px 0;
143
140
  }
144
-
145
- .big-mute-icon[data-big-mute-icon] {
141
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-option {
142
+ margin: 0;
143
+ text-align: left;
144
+ line-height: 22px;
145
+ padding: 5px 14px;
146
+ width: 250px;
147
+ font-size: 12px;
146
148
  display: flex;
147
149
  align-items: center;
148
- justify-content: center;
149
- align-self: center;
150
- width: 120px;
151
- height: 120px;
152
- border: 2px solid white;
153
- border-radius: 50%;
154
- filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
155
- filter: alpha(opacity=60);
156
- opacity: 1;
157
- box-shadow: 0 0 1px 0 white;
158
- background: rgba(240, 243, 247, 0.9411764706);
159
- z-index: 10000;
150
+ justify-content: flex-start;
151
+ gap: 8px;
160
152
  }
161
- .big-mute-icon[data-big-mute-icon] svg {
162
- margin-left: 5px;
163
- width: 80px;
164
- height: 80px;
153
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-option_icon {
154
+ flex: 24px 0 0;
155
+ height: 24px;
165
156
  }
166
- .big-mute-icon[data-big-mute-icon] svg path {
167
- fill: #1f1e1e !important;
157
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-option_icon.hidden {
158
+ visibility: hidden;
159
+ display: inline-block;
168
160
  }
169
- .big-mute-icon[data-big-mute-icon]:hover {
170
- background: rgba(240, 243, 247, 0.8784313725);
161
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-option_label {
162
+ flex: 0 1 100%;
171
163
  }
172
- .big-mute-icon[data-big-mute-icon]:hover svg path {
173
- fill: #151515 !important;
164
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-option_arrow-right-icon {
165
+ flex: 0 0 14px;
166
+ height: 24px;
167
+ }
168
+ .media-control-skin-1 .media-control-item.media-control-gear .gear-option_value {
169
+ flex: 1 0 auto;
174
170
  }*, :focus, :visited {
175
171
  outline: none !important;
176
172
  }
@@ -229,51 +225,55 @@
229
225
  }
230
226
  .gear-wrapper ul.gear-sub-menu li.current a .check-icon svg {
231
227
  display: inline;
232
- }.media-control-skin-1 .media-control-item.media-control-gear {
233
- order: 99;
234
- }
235
- .media-control-skin-1 .media-control-item.media-control-gear .gear-wrapper {
228
+ }.big-mute-icon-wrapper[data-big-mute] {
236
229
  position: absolute;
237
- right: 16px;
238
- bottom: 52px;
239
- width: 250px;
240
- min-height: 48px;
241
- z-index: 9999;
242
- border-radius: 4px;
243
- box-shadow: 0 0 1px 1px var(--gplayer-mc-popup-border-color);
230
+ z-index: 9998;
231
+ background-color: transparent;
232
+ display: flex;
233
+ justify-content: center;
234
+ width: 100%;
235
+ height: calc(100% - 50px);
236
+ margin: 0 auto;
237
+ opacity: 0.75;
238
+ transition: opacity 0.1s ease;
239
+ pointer-events: auto;
244
240
  }
245
- .media-control-skin-1 .media-control-item.media-control-gear .gear-options-list {
246
- padding: 8px 0;
241
+ .big-mute-icon-wrapper[data-big-mute].hide {
242
+ display: none;
247
243
  }
248
- .media-control-skin-1 .media-control-item.media-control-gear .gear-option {
249
- margin: 0;
250
- text-align: left;
251
- line-height: 22px;
252
- padding: 5px 14px;
253
- width: 250px;
254
- font-size: 12px;
244
+ .big-mute-icon-wrapper[data-big-mute]:hover {
245
+ cursor: pointer;
246
+ }
247
+
248
+ .big-mute-icon[data-big-mute-icon] {
255
249
  display: flex;
256
250
  align-items: center;
257
- justify-content: flex-start;
258
- gap: 8px;
259
- }
260
- .media-control-skin-1 .media-control-item.media-control-gear .gear-option_icon {
261
- flex: 24px 0 0;
262
- height: 24px;
251
+ justify-content: center;
252
+ align-self: center;
253
+ width: 120px;
254
+ height: 120px;
255
+ border: 2px solid white;
256
+ border-radius: 50%;
257
+ filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
258
+ filter: alpha(opacity=60);
259
+ opacity: 1;
260
+ box-shadow: 0 0 1px 0 white;
261
+ background: rgba(240, 243, 247, 0.9411764706);
262
+ z-index: 10000;
263
263
  }
264
- .media-control-skin-1 .media-control-item.media-control-gear .gear-option_icon.hidden {
265
- visibility: hidden;
266
- display: inline-block;
264
+ .big-mute-icon[data-big-mute-icon] svg {
265
+ margin-left: 5px;
266
+ width: 80px;
267
+ height: 80px;
267
268
  }
268
- .media-control-skin-1 .media-control-item.media-control-gear .gear-option_label {
269
- flex: 0 1 100%;
269
+ .big-mute-icon[data-big-mute-icon] svg path {
270
+ fill: #1f1e1e !important;
270
271
  }
271
- .media-control-skin-1 .media-control-item.media-control-gear .gear-option_arrow-right-icon {
272
- flex: 0 0 14px;
273
- height: 24px;
272
+ .big-mute-icon[data-big-mute-icon]:hover {
273
+ background: rgba(240, 243, 247, 0.8784313725);
274
274
  }
275
- .media-control-skin-1 .media-control-item.media-control-gear .gear-option_value {
276
- flex: 1 0 auto;
275
+ .big-mute-icon[data-big-mute-icon]:hover svg path {
276
+ fill: #151515 !important;
277
277
  }:root {
278
278
  --primary-background-color: #000;
279
279
  --secondary-background-color: #262626;
@@ -661,6 +661,40 @@
661
661
  }
662
662
  .gplayer-mc-clips .gplayer-mc-clips-text.compact {
663
663
  max-width: 100px;
664
+ }div.player-error-screen, [data-player] div.player-error-screen {
665
+ color: #CCCACA;
666
+ position: absolute;
667
+ top: 0;
668
+ height: 100%;
669
+ width: 100%;
670
+ background-color: rgba(0, 0, 0, 0.7);
671
+ z-index: 2000;
672
+ display: flex;
673
+ flex-direction: column;
674
+ justify-content: center;
675
+ }
676
+ div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
677
+ font-size: 14px;
678
+ color: #CCCACA;
679
+ margin-top: 45px;
680
+ }
681
+ div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
682
+ font-weight: bold;
683
+ line-height: 30px;
684
+ font-size: 18px;
685
+ }
686
+ div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
687
+ width: 90%;
688
+ margin: 0 auto;
689
+ }
690
+ div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
691
+ font-size: 13px;
692
+ margin-top: 15px;
693
+ }
694
+ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
695
+ cursor: pointer;
696
+ width: 30px;
697
+ margin: 15px auto 0;
664
698
  }.context-menu {
665
699
  z-index: 999;
666
700
  position: absolute;
@@ -754,6 +788,40 @@
754
788
  .dvr-controls .live-button:hover {
755
789
  opacity: 1;
756
790
  text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
791
+ }.player-poster {
792
+ display: flex;
793
+ justify-content: center;
794
+ align-items: center;
795
+ position: absolute;
796
+ height: 100%;
797
+ width: 100%;
798
+ z-index: 998;
799
+ top: 0;
800
+ left: 0;
801
+ background-color: #000;
802
+ background-size: cover;
803
+ background-repeat: no-repeat;
804
+ background-position: 50% 50%;
805
+ }
806
+ .player-poster.clickable {
807
+ cursor: pointer;
808
+ }
809
+ .player-poster:hover .play-wrapper {
810
+ opacity: 1;
811
+ }
812
+ .player-poster .play-wrapper {
813
+ width: 100%;
814
+ height: 25%;
815
+ margin: 0 auto;
816
+ opacity: 0.75;
817
+ transition: opacity 0.1s ease;
818
+ }
819
+ .player-poster .play-wrapper svg {
820
+ height: 100%;
821
+ display: inline;
822
+ }
823
+ .player-poster .play-wrapper svg path {
824
+ fill: #fff;
757
825
  }*,
758
826
  :focus,
759
827
  :visited {
@@ -889,48 +957,6 @@
889
957
  }
890
958
  .multicamera[data-multicamera] li.current a {
891
959
  color: #f00;
892
- }div.player-error-screen, [data-player] div.player-error-screen {
893
- color: #CCCACA;
894
- position: absolute;
895
- top: 0;
896
- height: 100%;
897
- width: 100%;
898
- background-color: rgba(0, 0, 0, 0.7);
899
- z-index: 2000;
900
- display: flex;
901
- flex-direction: column;
902
- justify-content: center;
903
- }
904
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
905
- font-size: 14px;
906
- color: #CCCACA;
907
- margin-top: 45px;
908
- }
909
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
910
- font-weight: bold;
911
- line-height: 30px;
912
- font-size: 18px;
913
- }
914
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
915
- width: 90%;
916
- margin: 0 auto;
917
- }
918
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
919
- font-size: 13px;
920
- margin-top: 15px;
921
- }
922
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
923
- cursor: pointer;
924
- width: 30px;
925
- margin: 15px auto 0;
926
- }.media-control-skin-1 .media-control-item.media-control-pip {
927
- order: 95;
928
- }
929
- .media-control-skin-1 .media-control-item.media-control-pip button {
930
- height: 20px;
931
- }
932
- .media-control-skin-1 .media-control-item.media-control-pip button svg {
933
- height: 20px;
934
960
  }[data-player] {
935
961
  --bottom-panel: 40px;
936
962
  }
@@ -1552,40 +1578,14 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1552
1578
  100% {
1553
1579
  color: #B80000;
1554
1580
  }
1555
- }.player-poster {
1556
- display: flex;
1557
- justify-content: center;
1558
- align-items: center;
1559
- position: absolute;
1560
- height: 100%;
1561
- width: 100%;
1562
- z-index: 998;
1563
- top: 0;
1564
- left: 0;
1565
- background-color: #000;
1566
- background-size: cover;
1567
- background-repeat: no-repeat;
1568
- background-position: 50% 50%;
1569
- }
1570
- .player-poster.clickable {
1571
- cursor: pointer;
1572
- }
1573
- .player-poster:hover .play-wrapper {
1574
- opacity: 1;
1575
- }
1576
- .player-poster .play-wrapper {
1577
- width: 100%;
1578
- height: 25%;
1579
- margin: 0 auto;
1580
- opacity: 0.75;
1581
- transition: opacity 0.1s ease;
1581
+ }.media-control-skin-1 .media-control-item.media-control-pip {
1582
+ order: 95;
1582
1583
  }
1583
- .player-poster .play-wrapper svg {
1584
- height: 100%;
1585
- display: inline;
1584
+ .media-control-skin-1 .media-control-item.media-control-pip button {
1585
+ height: 20px;
1586
1586
  }
1587
- .player-poster .play-wrapper svg path {
1588
- fill: #fff;
1587
+ .media-control-skin-1 .media-control-item.media-control-pip button svg {
1588
+ height: 20px;
1589
1589
  }.quality-levels li.disabled {
1590
1590
  opacity: 0.5;
1591
1591
  pointer-events: none;
@@ -1625,44 +1625,27 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1625
1625
  .seek-time .seek-time__duration::before {
1626
1626
  content: "|";
1627
1627
  margin-right: 7px;
1628
- }.spinner-three-bounce[data-spinner] {
1629
- position: absolute;
1630
- width: 70px;
1631
- text-align: center;
1632
- z-index: 999;
1633
- left: 0;
1634
- right: 0;
1635
- margin: 0 auto;
1636
- margin-left: auto;
1637
- margin-right: auto;
1638
- /* center vertically */
1639
- top: 50%;
1640
- transform: translateY(-50%);
1641
- }
1642
- .spinner-three-bounce[data-spinner] > div {
1643
- width: 18px;
1644
- height: 18px;
1645
- background-color: #FFF;
1646
- border-radius: 100%;
1647
- display: inline-block;
1648
- animation: bouncedelay 1.4s infinite ease-in-out;
1649
- /* Prevent first frame from flickering when animation starts */
1650
- animation-fill-mode: both;
1628
+ }.container-with-poster-clickable .mc-skip-time {
1629
+ height: 0;
1651
1630
  }
1652
- .spinner-three-bounce[data-spinner] [data-bounce1] {
1653
- animation-delay: -0.32s;
1631
+
1632
+ .mc-skip-time {
1633
+ position: absolute;
1634
+ width: 100%;
1635
+ height: calc(100% - 50px);
1636
+ z-index: 9998;
1637
+ background-color: transparent;
1638
+ font-family: Roboto, "Open Sans", Arial, sans-serif;
1654
1639
  }
1655
- .spinner-three-bounce[data-spinner] [data-bounce2] {
1656
- animation-delay: -0.16s;
1640
+ .mc-skip-time .skip-container {
1641
+ width: 100%;
1642
+ height: 100%;
1643
+ display: flex;
1644
+ justify-content: space-between;
1657
1645
  }
1658
-
1659
- @keyframes bouncedelay {
1660
- 0%, 80%, 100% {
1661
- transform: scale(0);
1662
- }
1663
- 40% {
1664
- transform: scale(1);
1665
- }
1646
+ .mc-skip-time .skip-container .skip-item {
1647
+ flex: 1 0 0px;
1648
+ height: 100%;
1666
1649
  }.share_plugin[data-share] {
1667
1650
  pointer-events: auto;
1668
1651
  z-index: 5;
@@ -1746,27 +1729,44 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1746
1729
  display: inline-block;
1747
1730
  margin-right: 5px;
1748
1731
  cursor: pointer;
1749
- }.container-with-poster-clickable .mc-skip-time {
1750
- height: 0;
1751
- }
1752
-
1753
- .mc-skip-time {
1732
+ }.spinner-three-bounce[data-spinner] {
1754
1733
  position: absolute;
1755
- width: 100%;
1756
- height: calc(100% - 50px);
1757
- z-index: 9998;
1758
- background-color: transparent;
1759
- font-family: Roboto, "Open Sans", Arial, sans-serif;
1734
+ width: 70px;
1735
+ text-align: center;
1736
+ z-index: 999;
1737
+ left: 0;
1738
+ right: 0;
1739
+ margin: 0 auto;
1740
+ margin-left: auto;
1741
+ margin-right: auto;
1742
+ /* center vertically */
1743
+ top: 50%;
1744
+ transform: translateY(-50%);
1760
1745
  }
1761
- .mc-skip-time .skip-container {
1762
- width: 100%;
1763
- height: 100%;
1764
- display: flex;
1765
- justify-content: space-between;
1746
+ .spinner-three-bounce[data-spinner] > div {
1747
+ width: 18px;
1748
+ height: 18px;
1749
+ background-color: #FFF;
1750
+ border-radius: 100%;
1751
+ display: inline-block;
1752
+ animation: bouncedelay 1.4s infinite ease-in-out;
1753
+ /* Prevent first frame from flickering when animation starts */
1754
+ animation-fill-mode: both;
1766
1755
  }
1767
- .mc-skip-time .skip-container .skip-item {
1768
- flex: 1 0 0px;
1769
- height: 100%;
1756
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
1757
+ animation-delay: -0.32s;
1758
+ }
1759
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
1760
+ animation-delay: -0.16s;
1761
+ }
1762
+
1763
+ @keyframes bouncedelay {
1764
+ 0%, 80%, 100% {
1765
+ transform: scale(0);
1766
+ }
1767
+ 40% {
1768
+ transform: scale(1);
1769
+ }
1770
1770
  }.media-control-skin-1 .media-control-cc button.media-control-button {
1771
1771
  display: flex;
1772
1772
  justify-content: center;
@@ -51689,7 +51689,8 @@ class BigMuteButton extends UICorePlugin {
51689
51689
  this.destroy();
51690
51690
  }
51691
51691
  }
51692
- onStop(_, { ui }) {
51692
+ onStop(_, metadata) {
51693
+ const ui = metadata?.ui;
51693
51694
  if (ui) {
51694
51695
  this.destroy();
51695
51696
  }
package/dist/index.js CHANGED
@@ -50043,7 +50043,7 @@ class Player {
50043
50043
  }
50044
50044
  }
50045
50045
 
50046
- var version$1 = "2.28.9";
50046
+ var version$1 = "2.28.10";
50047
50047
 
50048
50048
  var packages = {
50049
50049
  "node_modules/@clappr/core": {
@@ -51875,7 +51875,8 @@ class BigMuteButton extends UICorePlugin {
51875
51875
  this.destroy();
51876
51876
  }
51877
51877
  }
51878
- onStop(_, { ui }) {
51878
+ onStop(_, metadata) {
51879
+ const ui = metadata?.ui;
51879
51880
  trace(`${T$9} onStop`, { ui });
51880
51881
  if (ui) {
51881
51882
  this.destroy();
@@ -1 +1 @@
1
- {"version":3,"file":"BigMuteButton.d.ts","sourceRoot":"","sources":["../../../src/plugins/big-mute-button/BigMuteButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,YAAY,EAAS,MAAM,cAAc,CAAA;AAOpE,OAAO,sDAAsD,CAAA;AAM7D;;;;;;;;;;GAUG;AACH,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,CAAC,QAAQ,CAAQ;IAExB,OAAO,CAAC,MAAM,CAAQ;IAGtB,OAAO,CAAC,YAAY,CAAQ;IAE5B;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IACH,IAAI,gBAAgB;;MAEnB;IAED,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAEzD;;OAEG;IACH,IAAa,MAAM;;MAIlB;IAED;;OAEG;IACM,UAAU;IAWnB,OAAO,CAAC,WAAW;IAEnB,OAAO,CAAC,kBAAkB;IAgB1B,OAAO,CAAC,MAAM;IAmBd,OAAO,CAAC,MAAM;IAOd,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,UAAU;IAKlB;;OAEG;IACM,MAAM;IAUf,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,IAAI;IAKZ,OAAO,CAAC,IAAI;IAKZ,OAAO,CAAC,OAAO;CAiBhB"}
1
+ {"version":3,"file":"BigMuteButton.d.ts","sourceRoot":"","sources":["../../../src/plugins/big-mute-button/BigMuteButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,YAAY,EAAS,MAAM,cAAc,CAAA;AAOpE,OAAO,sDAAsD,CAAA;AAM7D;;;;;;;;;;GAUG;AACH,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,CAAC,QAAQ,CAAQ;IAExB,OAAO,CAAC,MAAM,CAAQ;IAGtB,OAAO,CAAC,YAAY,CAAQ;IAE5B;;OAEG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IACH,IAAI,gBAAgB;;MAEnB;IAED,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAEzD;;OAEG;IACH,IAAa,MAAM;;MAIlB;IAED;;OAEG;IACM,UAAU;IAWnB,OAAO,CAAC,WAAW;IAEnB,OAAO,CAAC,kBAAkB;IAoB1B,OAAO,CAAC,MAAM;IAmBd,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,UAAU;IAKlB;;OAEG;IACM,MAAM;IAUf,OAAO,CAAC,KAAK;IAKb,OAAO,CAAC,IAAI;IAKZ,OAAO,CAAC,IAAI;IAKZ,OAAO,CAAC,OAAO;CAiBhB"}
@@ -79,7 +79,8 @@ export class BigMuteButton extends UICorePlugin {
79
79
  this.destroy();
80
80
  }
81
81
  }
82
- onStop(_, { ui }) {
82
+ onStop(_, metadata) {
83
+ const ui = metadata?.ui;
83
84
  trace(`${T} onStop`, { ui });
84
85
  if (ui) {
85
86
  this.destroy();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcorevideo/player",
3
- "version": "2.28.9",
3
+ "version": "2.28.10",
4
4
  "description": "Gcore JavaScript video player",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -84,7 +84,11 @@ export class BigMuteButton extends UICorePlugin {
84
84
  )
85
85
  this.listenTo(this.core.activeContainer, Events.CONTAINER_PLAY, this.onPlay)
86
86
  this.listenTo(this.core.activeContainer, Events.CONTAINER_STOP, this.onStop)
87
- this.listenTo(this.core.activeContainer, Events.CONTAINER_PAUSE, this.onPause)
87
+ this.listenTo(
88
+ this.core.activeContainer,
89
+ Events.CONTAINER_PAUSE,
90
+ this.onPause,
91
+ )
88
92
  }
89
93
 
90
94
  private onPlay(_: string, { autoPlay }: { autoPlay?: boolean }) {
@@ -106,7 +110,8 @@ export class BigMuteButton extends UICorePlugin {
106
110
  }
107
111
  }
108
112
 
109
- private onStop(_: string, { ui }: { ui?: boolean }) {
113
+ private onStop(_: string, metadata?: { ui?: boolean }) {
114
+ const ui = metadata?.ui
110
115
  trace(`${T} onStop`, { ui })
111
116
  if (ui) {
112
117
  this.destroy()