@gcorevideo/player 2.1.13 → 2.3.0

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.
Files changed (64) hide show
  1. package/dist/index.js +208 -218
  2. package/lib/Player.d.ts +2 -1
  3. package/lib/Player.d.ts.map +1 -1
  4. package/lib/Player.js +28 -7
  5. package/lib/version.d.ts +2 -0
  6. package/lib/version.d.ts.map +1 -1
  7. package/lib/version.js +2 -0
  8. package/package.json +1 -1
  9. package/src/Player.ts +32 -7
  10. package/src/version.ts +2 -0
  11. package/tsconfig.tsbuildinfo +1 -1
  12. package/assets/icons/new/arrow-left.svg +0 -5
  13. package/assets/icons/new/arrow-right.svg +0 -5
  14. package/assets/icons/new/check.svg +0 -5
  15. package/assets/icons/new/close.svg +0 -12
  16. package/assets/icons/new/full.svg +0 -8
  17. package/assets/icons/new/fullscreen-off.svg +0 -14
  18. package/assets/icons/new/fullscreen-on.svg +0 -14
  19. package/assets/icons/new/gear-hd.svg +0 -16
  20. package/assets/icons/new/gear.svg +0 -12
  21. package/assets/icons/new/hd.svg +0 -8
  22. package/assets/icons/new/pause.svg +0 -5
  23. package/assets/icons/new/pip.svg +0 -5
  24. package/assets/icons/new/play.svg +0 -10
  25. package/assets/icons/new/replayleft.svg +0 -5
  26. package/assets/icons/new/replayright.svg +0 -5
  27. package/assets/icons/new/speed.svg +0 -5
  28. package/assets/icons/new/stats.svg +0 -3
  29. package/assets/icons/new/stop.svg +0 -3
  30. package/assets/icons/new/subtitles-off.svg +0 -5
  31. package/assets/icons/new/subtitles-on.svg +0 -6
  32. package/assets/icons/new/volume-max.svg +0 -5
  33. package/assets/icons/new/volume-min.svg +0 -5
  34. package/assets/icons/new/volume-off.svg +0 -5
  35. package/assets/icons/old/cardboard.svg +0 -4
  36. package/assets/icons/old/close-share.svg +0 -13
  37. package/assets/icons/old/close.svg +0 -13
  38. package/assets/icons/old/fb.svg +0 -13
  39. package/assets/icons/old/fullscreen.svg +0 -12
  40. package/assets/icons/old/language.svg +0 -1
  41. package/assets/icons/old/pause.svg +0 -12
  42. package/assets/icons/old/play.svg +0 -12
  43. package/assets/icons/old/quality-arrow.svg +0 -13
  44. package/assets/icons/old/reload.svg +0 -4
  45. package/assets/icons/old/share.svg +0 -13
  46. package/assets/icons/old/sound-off.svg +0 -15
  47. package/assets/icons/old/sound-on.svg +0 -15
  48. package/assets/icons/old/streams.svg +0 -3
  49. package/assets/icons/old/twitter.svg +0 -13
  50. package/assets/icons/old/wn.svg +0 -15
  51. package/assets/icons/standard/01-play.svg +0 -3
  52. package/assets/icons/standard/02-pause.svg +0 -3
  53. package/assets/icons/standard/03-stop.svg +0 -3
  54. package/assets/icons/standard/04-volume.svg +0 -3
  55. package/assets/icons/standard/05-mute.svg +0 -3
  56. package/assets/icons/standard/06-expand.svg +0 -3
  57. package/assets/icons/standard/07-shrink.svg +0 -3
  58. package/assets/icons/standard/08-hd.svg +0 -3
  59. package/assets/icons/standard/09-cc.svg +0 -8
  60. package/assets/icons/standard/10-reload.svg +0 -4
  61. package/assets/style/main.scss +0 -50
  62. package/assets/style/theme.scss +0 -42
  63. package/assets/style/variables.scss +0 -7
  64. package/dist/index.css +0 -125
package/dist/index.css DELETED
@@ -1,125 +0,0 @@
1
- @import "https://fonts.googleapis.com/css?family=Roboto";
2
- :root {
3
- --theme-background-color: rgb(0 0 0 / 70%);
4
- --theme-text-color: rgb(255 255 255 / 100%);
5
- --theme-foreground-color: rgb(201 201 201 / 100%);
6
- --theme-hover-color: rgb(255 255 255 / 100%);
7
- }
8
-
9
- .gcore-skin-bg-color {
10
- background-color: var(--theme-background-color) !important;
11
- }
12
-
13
- .gcore-skin-text-color {
14
- color: var(--theme-text-color) !important;
15
- }
16
-
17
- .gcore-skin-text-color svg {
18
- fill: var(--theme-text-color) !important;
19
- }
20
-
21
- .gcore-skin-text-color svg path {
22
- fill: var(--theme-text-color) !important;
23
- }
24
-
25
- .gcore-skin-border-textarea-color {
26
- border-color: var(--theme-text-color) !important;
27
- }
28
-
29
- .gcore-skin-button-color {
30
- color: var(--theme-foreground-color) !important;
31
- }
32
- .gcore-skin-button-color svg {
33
- fill: var(--theme-foreground-color) !important;
34
- }
35
- .gcore-skin-button-color svg path {
36
- fill: var(--theme-foreground-color) !important;
37
- }
38
- .gcore-skin-button-color svg path.icon-hover {
39
- fill: var(--theme-foreground-color) !important;
40
- }
41
- .gcore-skin-button-color[data-fullscreen] svg {
42
- stroke: var(--theme-foreground-color) !important;
43
- }
44
- .gcore-skin-button-color[data-fullscreen] svg path {
45
- stroke: var(--theme-foreground-color) !important;
46
- }
47
-
48
- .gcore-skin-main-color {
49
- background-color: var(--theme-foreground-color) !important;
50
- }
51
-
52
- .gcore-skin-border-color {
53
- border-color: var(--theme-foreground-color) !important;
54
- }
55
-
56
- .gcore-skin-button-color:hover {
57
- color: var(--theme-hover-color) !important;
58
- }
59
-
60
- .gcore-skin-button-color:hover svg {
61
- fill: var(--theme-hover-color) !important;
62
- }
63
-
64
- .gcore-skin-button-color:hover svg path {
65
- fill: var(--theme-hover-color) !important;
66
- }
67
-
68
- .gcore-skin-border-color:hover {
69
- border-color: var(--theme-hover-color) !important;
70
- }
71
-
72
- .gcore-skin-button-with-bg-color:hover svg path.icon-hover {
73
- fill: var(--theme-hover-color) !important;
74
- }
75
-
76
- .gcore-skin-active {
77
- color: var(--theme-hover-color) !important;
78
- }
79
-
80
- .gcore-skin-active svg {
81
- fill: var(--theme-hover-color) !important;
82
- }
83
-
84
- .gcore-skin-active svg path {
85
- fill: var(--theme-hover-color) !important;
86
- }
87
-
88
- * {
89
- -webkit-tap-highlight-color: transparent;
90
- -webkit-touch-callout: none;
91
- user-select: none;
92
- }
93
-
94
- .player-poster[data-poster] {
95
- background-size: contain !important;
96
- }
97
-
98
- .spinner-three-bounce > .gcore-skin-main-color {
99
- box-shadow: 4px 4px 9px 1px rgba(36, 61, 81, 0.51);
100
- }
101
-
102
- .gplayer-lite-btn {
103
- cursor: pointer;
104
- border: none;
105
- margin: 0;
106
- padding: 0;
107
- width: auto;
108
- overflow: visible;
109
- background: transparent;
110
- /* inherit font & color from ancestor */
111
- color: inherit;
112
- font: inherit;
113
- /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
114
- line-height: normal;
115
- /* Corrects font smoothing for webkit */
116
- -webkit-font-smoothing: inherit;
117
- -moz-osx-font-smoothing: inherit;
118
- /* Corrects inability to style clickable `input` types in iOS */
119
- appearance: none;
120
- /* Remove excess padding and border in Firefox 4+ */
121
- }
122
- .gplayer-lite-btn::-moz-focus-inner {
123
- border: 0;
124
- padding: 0;
125
- }