@gcorevideo/player 2.28.6 → 2.28.9

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.6";
49960
+ var version$1 = "2.28.9";
49961
49961
 
49962
49962
  var packages = {
49963
49963
  "node_modules/@clappr/core": {
package/dist/index.css CHANGED
@@ -122,6 +122,55 @@
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;
137
+ }
138
+ .big-mute-icon-wrapper[data-big-mute].hide {
139
+ display: none;
140
+ }
141
+ .big-mute-icon-wrapper[data-big-mute]:hover {
142
+ cursor: pointer;
143
+ }
144
+
145
+ .big-mute-icon[data-big-mute-icon] {
146
+ display: flex;
147
+ 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;
160
+ }
161
+ .big-mute-icon[data-big-mute-icon] svg {
162
+ margin-left: 5px;
163
+ width: 80px;
164
+ height: 80px;
165
+ }
166
+ .big-mute-icon[data-big-mute-icon] svg path {
167
+ fill: #1f1e1e !important;
168
+ }
169
+ .big-mute-icon[data-big-mute-icon]:hover {
170
+ background: rgba(240, 243, 247, 0.8784313725);
171
+ }
172
+ .big-mute-icon[data-big-mute-icon]:hover svg path {
173
+ fill: #151515 !important;
125
174
  }*, :focus, :visited {
126
175
  outline: none !important;
127
176
  }
@@ -225,55 +274,6 @@
225
274
  }
226
275
  .media-control-skin-1 .media-control-item.media-control-gear .gear-option_value {
227
276
  flex: 1 0 auto;
228
- }.big-mute-icon-wrapper[data-big-mute] {
229
- position: absolute;
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;
240
- }
241
- .big-mute-icon-wrapper[data-big-mute].hide {
242
- display: none;
243
- }
244
- .big-mute-icon-wrapper[data-big-mute]:hover {
245
- cursor: pointer;
246
- }
247
-
248
- .big-mute-icon[data-big-mute-icon] {
249
- display: flex;
250
- align-items: center;
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
- }
264
- .big-mute-icon[data-big-mute-icon] svg {
265
- margin-left: 5px;
266
- width: 80px;
267
- height: 80px;
268
- }
269
- .big-mute-icon[data-big-mute-icon] svg path {
270
- fill: #1f1e1e !important;
271
- }
272
- .big-mute-icon[data-big-mute-icon]:hover {
273
- background: rgba(240, 243, 247, 0.8784313725);
274
- }
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,42 @@
661
661
  }
662
662
  .gplayer-mc-clips .gplayer-mc-clips-text.compact {
663
663
  max-width: 100px;
664
+ }.context-menu {
665
+ z-index: 999;
666
+ position: absolute;
667
+ top: 0;
668
+ left: 0;
669
+ text-align: center;
670
+ }
671
+ .context-menu .context-menu-list {
672
+ font-family: "Proxima Nova", sans-serif;
673
+ font-size: 12px;
674
+ line-height: 12px;
675
+ list-style-type: none;
676
+ text-align: left;
677
+ padding: 5px;
678
+ margin-left: auto;
679
+ margin-right: auto;
680
+ background-color: rgba(0, 0, 0, 0.75);
681
+ border: 1px solid #666;
682
+ border-radius: 4px;
683
+ }
684
+ .context-menu .context-menu-list-item button {
685
+ border: none;
686
+ background-color: transparent;
687
+ padding: 0;
688
+ color: white;
689
+ display: flex;
690
+ gap: 8px;
691
+ align-items: center;
692
+ justify-content: center;
693
+ cursor: pointer;
694
+ padding: 5px;
695
+ width: 100%;
696
+ }
697
+ .context-menu .context-menu-list-item_icon {
698
+ width: 20px;
699
+ height: 20px;
664
700
  }.dvr-controls {
665
701
  --disabled-opacity: 0.3;
666
702
  --circle-radius: 5px;
@@ -718,76 +754,6 @@
718
754
  .dvr-controls .live-button:hover {
719
755
  opacity: 1;
720
756
  text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px;
721
- }.context-menu {
722
- z-index: 999;
723
- position: absolute;
724
- top: 0;
725
- left: 0;
726
- text-align: center;
727
- }
728
- .context-menu .context-menu-list {
729
- font-family: "Proxima Nova", sans-serif;
730
- font-size: 12px;
731
- line-height: 12px;
732
- list-style-type: none;
733
- text-align: left;
734
- padding: 5px;
735
- margin-left: auto;
736
- margin-right: auto;
737
- background-color: rgba(0, 0, 0, 0.75);
738
- border: 1px solid #666;
739
- border-radius: 4px;
740
- }
741
- .context-menu .context-menu-list-item button {
742
- border: none;
743
- background-color: transparent;
744
- padding: 0;
745
- color: white;
746
- display: flex;
747
- gap: 8px;
748
- align-items: center;
749
- justify-content: center;
750
- cursor: pointer;
751
- padding: 5px;
752
- width: 100%;
753
- }
754
- .context-menu .context-menu-list-item_icon {
755
- width: 20px;
756
- height: 20px;
757
- }div.player-error-screen, [data-player] div.player-error-screen {
758
- color: #CCCACA;
759
- position: absolute;
760
- top: 0;
761
- height: 100%;
762
- width: 100%;
763
- background-color: rgba(0, 0, 0, 0.7);
764
- z-index: 2000;
765
- display: flex;
766
- flex-direction: column;
767
- justify-content: center;
768
- }
769
- div.player-error-screen__content[data-error-screen], [data-player] div.player-error-screen__content[data-error-screen] {
770
- font-size: 14px;
771
- color: #CCCACA;
772
- margin-top: 45px;
773
- }
774
- div.player-error-screen__title[data-error-screen], [data-player] div.player-error-screen__title[data-error-screen] {
775
- font-weight: bold;
776
- line-height: 30px;
777
- font-size: 18px;
778
- }
779
- div.player-error-screen__message[data-error-screen], [data-player] div.player-error-screen__message[data-error-screen] {
780
- width: 90%;
781
- margin: 0 auto;
782
- }
783
- div.player-error-screen__code[data-error-screen], [data-player] div.player-error-screen__code[data-error-screen] {
784
- font-size: 13px;
785
- margin-top: 15px;
786
- }
787
- div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
788
- cursor: pointer;
789
- width: 30px;
790
- margin: 15px auto 0;
791
757
  }*,
792
758
  :focus,
793
759
  :visited {
@@ -923,6 +889,48 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
923
889
  }
924
890
  .multicamera[data-multicamera] li.current a {
925
891
  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;
926
934
  }[data-player] {
927
935
  --bottom-panel: 40px;
928
936
  }
@@ -1578,14 +1586,83 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1578
1586
  }
1579
1587
  .player-poster .play-wrapper svg path {
1580
1588
  fill: #fff;
1581
- }.media-control-skin-1 .media-control-item.media-control-pip {
1582
- order: 95;
1589
+ }.quality-levels li.disabled {
1590
+ opacity: 0.5;
1591
+ pointer-events: none;
1583
1592
  }
1584
- .media-control-skin-1 .media-control-item.media-control-pip button {
1593
+ .quality-levels li.current {
1594
+ background-color: #000;
1595
+ }.seek-time {
1596
+ position: absolute;
1597
+ white-space: nowrap;
1585
1598
  height: 20px;
1599
+ line-height: 20px;
1600
+ font-size: 0;
1601
+ left: -100%;
1602
+ bottom: 55px;
1603
+ background-color: rgba(2, 2, 2, 0.5);
1604
+ z-index: 9999;
1605
+ transition: opacity 0.1s ease;
1586
1606
  }
1587
- .media-control-skin-1 .media-control-item.media-control-pip button svg {
1588
- height: 20px;
1607
+ .seek-time.hidden {
1608
+ opacity: 0;
1609
+ }
1610
+ .seek-time .seek-time__pos {
1611
+ display: inline-block;
1612
+ color: white;
1613
+ font-size: 10px;
1614
+ padding-left: 7px;
1615
+ padding-right: 7px;
1616
+ vertical-align: top;
1617
+ }
1618
+ .seek-time .seek-time__duration {
1619
+ display: inline-block;
1620
+ color: rgba(255, 255, 255, 0.5);
1621
+ font-size: 10px;
1622
+ padding-right: 7px;
1623
+ vertical-align: top;
1624
+ }
1625
+ .seek-time .seek-time__duration::before {
1626
+ content: "|";
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;
1651
+ }
1652
+ .spinner-three-bounce[data-spinner] [data-bounce1] {
1653
+ animation-delay: -0.32s;
1654
+ }
1655
+ .spinner-three-bounce[data-spinner] [data-bounce2] {
1656
+ animation-delay: -0.16s;
1657
+ }
1658
+
1659
+ @keyframes bouncedelay {
1660
+ 0%, 80%, 100% {
1661
+ transform: scale(0);
1662
+ }
1663
+ 40% {
1664
+ transform: scale(1);
1665
+ }
1589
1666
  }.share_plugin[data-share] {
1590
1667
  pointer-events: auto;
1591
1668
  z-index: 5;
@@ -1669,45 +1746,6 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1669
1746
  display: inline-block;
1670
1747
  margin-right: 5px;
1671
1748
  cursor: pointer;
1672
- }.quality-levels li.disabled {
1673
- opacity: 0.5;
1674
- pointer-events: none;
1675
- }
1676
- .quality-levels li.current {
1677
- background-color: #000;
1678
- }.seek-time {
1679
- position: absolute;
1680
- white-space: nowrap;
1681
- height: 20px;
1682
- line-height: 20px;
1683
- font-size: 0;
1684
- left: -100%;
1685
- bottom: 55px;
1686
- background-color: rgba(2, 2, 2, 0.5);
1687
- z-index: 9999;
1688
- transition: opacity 0.1s ease;
1689
- }
1690
- .seek-time.hidden {
1691
- opacity: 0;
1692
- }
1693
- .seek-time .seek-time__pos {
1694
- display: inline-block;
1695
- color: white;
1696
- font-size: 10px;
1697
- padding-left: 7px;
1698
- padding-right: 7px;
1699
- vertical-align: top;
1700
- }
1701
- .seek-time .seek-time__duration {
1702
- display: inline-block;
1703
- color: rgba(255, 255, 255, 0.5);
1704
- font-size: 10px;
1705
- padding-right: 7px;
1706
- vertical-align: top;
1707
- }
1708
- .seek-time .seek-time__duration::before {
1709
- content: "|";
1710
- margin-right: 7px;
1711
1749
  }.container-with-poster-clickable .mc-skip-time {
1712
1750
  height: 0;
1713
1751
  }
@@ -1729,44 +1767,6 @@ div.player-error-screen__reload, [data-player] div.player-error-screen__reload {
1729
1767
  .mc-skip-time .skip-container .skip-item {
1730
1768
  flex: 1 0 0px;
1731
1769
  height: 100%;
1732
- }.spinner-three-bounce[data-spinner] {
1733
- position: absolute;
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%);
1745
- }
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;
1755
- }
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;
package/dist/index.js CHANGED
@@ -50043,7 +50043,7 @@ class Player {
50043
50043
  }
50044
50044
  }
50045
50045
 
50046
- var version$1 = "2.28.6";
50046
+ var version$1 = "2.28.9";
50047
50047
 
50048
50048
  var packages = {
50049
50049
  "node_modules/@clappr/core": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcorevideo/player",
3
- "version": "2.28.6",
3
+ "version": "2.28.9",
4
4
  "description": "Gcore JavaScript video player",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",