@eluvio/elv-player-js 1.0.140 → 2.0.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.
Files changed (102) hide show
  1. package/README.md +35 -6
  2. package/dist/.vite/manifest.json +67 -0
  3. package/dist/Analytics-HWXR7tWt.mjs +2028 -0
  4. package/dist/Analytics-IUVysdzU.js +29 -0
  5. package/dist/dash.all.min-1QS9Xbir.js +25 -0
  6. package/dist/dash.all.min-9V1xYBRv.mjs +19428 -0
  7. package/dist/elv-player-js.cjs.js +1 -0
  8. package/dist/elv-player-js.css +1 -0
  9. package/dist/elv-player-js.es.js +5 -0
  10. package/dist/hls-1eCRapWm.mjs +15461 -0
  11. package/dist/hls-6O5SV1FQ.js +26 -0
  12. package/dist/index-6cMQneJf.mjs +2273 -0
  13. package/dist/index-C8mwW09z.js +23 -0
  14. package/dist/index-J4QpmTkA.js +367 -0
  15. package/dist/index-hvQzQ6UX.mjs +67432 -0
  16. package/lib/index.js +7 -0
  17. package/{src → lib/player}/Analytics.js +9 -8
  18. package/lib/player/Controls.js +913 -0
  19. package/{src → lib/player}/FairPlay.js +2 -0
  20. package/lib/player/Player.js +881 -0
  21. package/lib/player/PlayerParameters.js +173 -0
  22. package/lib/static/icons/Icons.js +29 -0
  23. package/lib/static/icons/svgs/backward-circle.svg +5 -0
  24. package/lib/static/icons/svgs/backward.svg +4 -0
  25. package/lib/static/icons/svgs/captions-off.svg +7 -0
  26. package/lib/static/icons/svgs/captions.svg +6 -0
  27. package/lib/static/icons/svgs/check.svg +1 -0
  28. package/lib/static/icons/svgs/chevron-left.svg +1 -0
  29. package/lib/static/icons/svgs/chevron-right.svg +1 -0
  30. package/lib/static/icons/svgs/forward-circle.svg +5 -0
  31. package/lib/static/icons/svgs/forward.svg +4 -0
  32. package/{src/static/icons/media/Full Screen icon.svg → lib/static/icons/svgs/full-screen.svg} +1 -1
  33. package/lib/static/icons/svgs/large-play-circle.svg +4 -0
  34. package/lib/static/icons/svgs/list.svg +1 -0
  35. package/{src/static/icons → lib/static/icons/svgs}/minimize.svg +1 -1
  36. package/{src/static/icons/media/Pause icon.svg → lib/static/icons/svgs/pause-circle.svg} +3 -3
  37. package/lib/static/icons/svgs/pause.svg +1 -0
  38. package/{src/static/icons/media/Play icon.svg → lib/static/icons/svgs/play-circle.svg} +1 -1
  39. package/lib/static/icons/svgs/play.svg +1 -0
  40. package/lib/static/icons/svgs/rotate-cw.svg +1 -0
  41. package/lib/static/icons/svgs/settings.svg +11 -0
  42. package/{src/static/icons/media/skip back icon.svg → lib/static/icons/svgs/skip-backward.svg} +2 -3
  43. package/{src/static/icons/media/Skip forward icon.svg → lib/static/icons/svgs/skip-forward.svg} +2 -3
  44. package/{src/static/icons/media/Volume icon.svg → lib/static/icons/svgs/volume-high.svg} +3 -3
  45. package/lib/static/icons/svgs/volume-low.svg +10 -0
  46. package/{src/static/icons/media/low volume icon.svg → lib/static/icons/svgs/volume-medium.svg} +2 -2
  47. package/{src/static/icons/media/no volume icon.svg → lib/static/icons/svgs/volume-off.svg} +3 -3
  48. package/lib/static/stylesheets/common.module.scss +486 -0
  49. package/lib/static/stylesheets/controls-tv.module.scss +488 -0
  50. package/lib/static/stylesheets/controls-web.module.scss +422 -0
  51. package/lib/static/stylesheets/player-profile-form.module.scss +141 -0
  52. package/lib/static/stylesheets/player.module.scss +92 -0
  53. package/lib/static/stylesheets/reset.module.scss +79 -0
  54. package/lib/static/stylesheets/ticket-form.module.scss +123 -0
  55. package/lib/ui/BuildIcons.cjs +44 -0
  56. package/lib/ui/Common.js +210 -0
  57. package/lib/ui/Components.jsx +342 -0
  58. package/lib/ui/Observers.js +449 -0
  59. package/lib/ui/PlayerProfileForm.jsx +106 -0
  60. package/lib/ui/PlayerUI.jsx +317 -0
  61. package/lib/ui/TVControls.jsx +337 -0
  62. package/lib/ui/TicketForm.jsx +147 -0
  63. package/lib/ui/WebControls.jsx +290 -0
  64. package/package.json +35 -47
  65. package/dist/index.js +0 -2
  66. package/dist/index.js.LICENSE.txt +0 -80
  67. package/src/BuildIcons.js +0 -27
  68. package/src/PlayerControls.js +0 -1478
  69. package/src/index.js +0 -1417
  70. package/src/static/icons/Icons.js +0 -15
  71. package/src/static/icons/Settings icon.svg +0 -4
  72. package/src/static/icons/chat icon collapse.svg +0 -1
  73. package/src/static/icons/chat icon.svg +0 -11
  74. package/src/static/icons/chat send.svg +0 -1
  75. package/src/static/icons/full screen.svg +0 -1
  76. package/src/static/icons/media/LargePlayIcon.svg +0 -4
  77. package/src/static/icons/media/Settings icon.svg +0 -4
  78. package/src/static/icons/media/Skip backward icon.svg +0 -4
  79. package/src/static/icons/media/list.svg +0 -1
  80. package/src/static/icons/media/loop icon.svg +0 -12
  81. package/src/static/icons/media/shuffle icon.svg +0 -13
  82. package/src/static/icons/muted.svg +0 -11
  83. package/src/static/icons/pause.svg +0 -1
  84. package/src/static/icons/play circle.svg +0 -1
  85. package/src/static/icons/play.svg +0 -1
  86. package/src/static/icons/settings.svg +0 -1
  87. package/src/static/icons/slider circle.svg +0 -1
  88. package/src/static/icons/unmuted.svg +0 -10
  89. package/src/static/images/ELUV.IO logo embed player.png +0 -0
  90. package/src/static/images/ELUV.IO logo embed player.svg +0 -1
  91. package/src/static/images/ELUV.IO white 20 px V2.png +0 -0
  92. package/src/static/images/ELUVIO white.svg +0 -26
  93. package/src/static/images/Logo.png +0 -0
  94. package/src/static/stylesheets/player.scss +0 -1065
  95. package/webpack.config.js +0 -152
  96. /package/{src/static/icons → lib/static/icons/svgs}/arrow-left.svg +0 -0
  97. /package/{src/static/icons/live icon.svg → lib/static/icons/svgs/live.svg} +0 -0
  98. /package/{src/static/icons → lib/static/icons/svgs}/multiview.svg +0 -0
  99. /package/{src/static/icons/media → lib/static/icons/svgs}/next.svg +0 -0
  100. /package/{src/static/icons/media → lib/static/icons/svgs}/previous.svg +0 -0
  101. /package/{src/static/icons → lib/static/icons/svgs}/x.svg +0 -0
  102. /package/{dist/5897e28fa3e8ac0a2fae.png → lib/static/images/Logo.png} +0 -0
@@ -0,0 +1,422 @@
1
+ .container {
2
+ align-items: center;
3
+ bottom: 0;
4
+ display: flex;
5
+ height: 100%;
6
+ justify-content: center;
7
+ left: 0;
8
+ position: absolute;
9
+ right: 0;
10
+ top: 0;
11
+ width: 100%;
12
+
13
+ --layer-gradient: 1;
14
+ --layer-title: 2;
15
+ --layer-controls: 3;
16
+ --layer-center-button: 4;
17
+ --layer-menu: 5;
18
+
19
+ --color-text: #FFF;
20
+ --color-text-secondary: #DDD;
21
+ --color-text-highlight: #5e9ff3;
22
+
23
+ --color-button: #FFF;
24
+
25
+ --color-menu-background: rgba(0, 0, 0, 75%);
26
+ --color-menu-button-active: rgba(255, 255, 255, 10%);
27
+ --color-menu-button-focused: rgba(255, 255, 255, 15%);
28
+ --color-menu-text: #EEE;
29
+ --color-menu-text-secondary: #AEAEAE;
30
+ --color-menu-text-header: #FFF;
31
+
32
+ --content-image-size: 125px;
33
+
34
+ :global(.focus-visible) {
35
+ outline: 1px solid var(--color-highlight) !important;
36
+ }
37
+
38
+ &--default-controls {
39
+ pointer-events: none;
40
+ user-select: none;
41
+ }
42
+
43
+ &:global(.menu-active) {
44
+ .bottom-controls-container {
45
+ z-index: var(--layer-menu);
46
+ }
47
+ }
48
+ }
49
+
50
+ .autohide {
51
+ &:not(:has(:focus-visible)) {
52
+ .info-container,
53
+ .bottom-controls-container--autohide {
54
+ opacity: 0;
55
+ pointer-events: none;
56
+ user-select: none;
57
+ }
58
+ }
59
+ }
60
+
61
+ .icon-button {
62
+ align-items: center;
63
+ color: var(--color-button);
64
+ display: flex;
65
+ height: 100%;
66
+ padding: 5px;
67
+ transition: color 0.15s ease;
68
+ width: auto;
69
+
70
+ svg {
71
+ height: 100%;
72
+ max-width: 100%;
73
+ width: auto;
74
+ }
75
+
76
+ &-active {
77
+ color: var(--color-text-highlight);
78
+
79
+ * {
80
+ color: var(--color-text-highlight);
81
+ }
82
+ }
83
+
84
+ &:disabled {
85
+ opacity: 0.5;
86
+ }
87
+ }
88
+
89
+ /* Content Info */
90
+
91
+ .info-container {
92
+ background: linear-gradient(rgba(0, 0, 0, 70%), rgba(0, 0, 0, 40%) 70%, rgba(0, 0, 0, 15%) 90%, transparent);
93
+ color: #fff;
94
+ display: flex;
95
+ gap: 30px;
96
+ line-height: 1.5em;
97
+ overflow-wrap: break-word;
98
+ padding: 25px 100px 50px 15px;
99
+ position: absolute;
100
+ top: 0;
101
+ transition: opacity 0.5s ease;
102
+ user-select: none;
103
+ width: 100%;
104
+ word-break: break-word;
105
+ word-wrap: break-word;
106
+ z-index: var(--layer-title);
107
+ }
108
+
109
+ .info-image-container {
110
+ border-radius: 5px;
111
+ height: var(--content-image-size);
112
+ min-height: var(--content-image-size);
113
+ min-width: var(--content-image-size);
114
+ overflow: hidden;
115
+ width: var(--content-image-size);
116
+ }
117
+
118
+ .info-image {
119
+ height: 100%;
120
+ object-fit: cover;
121
+ object-position: center;
122
+ width: 100%;
123
+ }
124
+
125
+ .info-text {
126
+ align-content: start;
127
+ display: grid;
128
+ flex-grow: 1;
129
+ gap: 3px;
130
+ height: 100%;
131
+ max-width: 1000px;
132
+ }
133
+
134
+ .info-headers {
135
+ color: var(--color-text-secondary);
136
+ display: flex;
137
+ flex-wrap: wrap;
138
+ font-size: 14px;
139
+ font-weight: 600;
140
+ gap: 20px;
141
+ margin-bottom: 5px;
142
+ }
143
+
144
+ .info-description {
145
+ color: var(--color-text);
146
+ font-size: 18px;
147
+ margin-top: 10px;
148
+ }
149
+
150
+ .info-title {
151
+ font-size: 24px;
152
+ font-weight: 600;
153
+ }
154
+
155
+ .info-subtitle {
156
+ color: var(--color-text-secondary);
157
+ font-size: 20px;
158
+ font-weight: 400;
159
+ margin-top: 8px;
160
+ }
161
+
162
+
163
+ /* Controls */
164
+
165
+ .center-play-button {
166
+ height: 100px;
167
+ transition: opacity 0.5s ease;
168
+ width: 100px;
169
+ z-index: var(--layer-center-button);
170
+
171
+ &--hidden {
172
+ opacity: 0;
173
+ pointer-events: none;
174
+ transition: opacity 0.15s ease;
175
+ user-select: none;
176
+ }
177
+ }
178
+
179
+ .seek {
180
+ margin-bottom: 3px;
181
+
182
+ /* Increased specificity to ensure variables are overriden */
183
+ &.seek {
184
+ --color-seek-active-focused: var(--color-highlight);
185
+ --color-seek-active: var(--color-highlight);
186
+ --color-seek-indicator: white;
187
+ }
188
+ }
189
+
190
+ .bottom-controls-container {
191
+ bottom: 0;
192
+ max-width: 100%;
193
+ padding: 0 5px 5px;
194
+ position: absolute;
195
+ transition: opacity 0.5s ease;
196
+ width: 100%;
197
+ z-index: var(--layer-controls);
198
+ }
199
+
200
+ .bottom-controls-gradient {
201
+ background: linear-gradient(transparent, rgba(0,0,0,100%));
202
+ bottom: 0;
203
+ height: 150%;
204
+ left: 0;
205
+ opacity: 0.5;
206
+ pointer-events: none;
207
+ position: absolute;
208
+ right: 0;
209
+ user-select: none;
210
+ z-index: var(--layer-gradient);
211
+ }
212
+
213
+ .controls {
214
+ align-items: center;
215
+ color: #fff;
216
+ display: flex;
217
+ gap: 15px;
218
+ height: 50px;
219
+ padding: 6px 10px 12px;
220
+ position: relative;
221
+ z-index: var(--layer-controls);
222
+
223
+ .play-pause-button {
224
+ padding: 0;
225
+ }
226
+ }
227
+
228
+ .time {
229
+ align-items: center;
230
+ display: flex;
231
+ font-size: 14px;
232
+ min-width: 100px;
233
+ user-select: none;
234
+ white-space: nowrap;
235
+ }
236
+
237
+ .live-indicator {
238
+ background: #F00;
239
+ border-radius: 5px;
240
+ font-size: 14px;
241
+ font-weight: 600;
242
+ padding: 3px 10px;
243
+ text-transform: uppercase;
244
+ user-select: none;
245
+ }
246
+
247
+ .collection-button-container {
248
+ align-items: center;
249
+ display: flex;
250
+ height: 100%;
251
+
252
+ &:hover,
253
+ &:focus-visible,
254
+ &:has(:focus-visible) {
255
+ .collection-button-text {
256
+ margin-left: 5px !important;
257
+ max-width: 200px;
258
+ transition: width 0.25s ease, margin 0.25s ease;
259
+ width: 200px;
260
+ }
261
+ }
262
+
263
+ &:hover {
264
+ .collection-button-text {
265
+ transition-delay: 0.5s;
266
+ }
267
+ }
268
+
269
+ &--loading {
270
+ .collection-button-text {
271
+ display: none;
272
+ }
273
+ }
274
+
275
+ .icon-button {
276
+ padding: 8px;
277
+ }
278
+ }
279
+
280
+ .collection-button-text {
281
+ font-size: 12px;
282
+ overflow: hidden;
283
+ text-overflow: ellipsis;
284
+ transition: width 0.25s ease, margin 0.25s ease;
285
+ white-space: nowrap;
286
+ width: 0;
287
+ }
288
+
289
+ .spacer {
290
+ flex-grow: 1;
291
+ }
292
+
293
+ .floating-volume-toggle {
294
+ bottom: 20px;
295
+ height: 30px;
296
+ position: absolute;
297
+ right: 30px;
298
+ width: 30px;
299
+ }
300
+
301
+ .watermark {
302
+ height: auto;
303
+ pointer-events: none;
304
+ position: absolute;
305
+ right: 20px;
306
+ top: 20px;
307
+ user-select: none;
308
+ width: 70px;
309
+ z-index: var(--layer-title);
310
+ }
311
+
312
+ /* Menus */
313
+
314
+ .menu-control-container {
315
+ position: relative;
316
+
317
+ .icon-button {
318
+ border: 1px solid transparent;
319
+ border-radius: 100%;
320
+ transition: background-color 0.25s ease, color 0.25s ease;
321
+
322
+ &-active,
323
+ &:focus-visible {
324
+ background-color: rgba(255, 255, 255, 85%);
325
+ color: #000;
326
+ filter: drop-shadow(0 0 5px #FFF);
327
+ }
328
+
329
+ &:focus-visible {
330
+ border: 1px solid var(--color-highlight);
331
+ }
332
+ }
333
+ }
334
+
335
+ /* Player size modifications */
336
+
337
+ :global(.__eluvio-player--size-md) {
338
+ .container {
339
+ --content-image-size: 90px;
340
+ }
341
+
342
+ .time {
343
+ font-size: 12px;
344
+ }
345
+
346
+ .center-play-button {
347
+ height: 75px;
348
+ width: 75px;
349
+ }
350
+
351
+ .info-container {
352
+ gap: 20px;
353
+ padding-top: 20px;
354
+ }
355
+
356
+ .info-title {
357
+ font-size: 18px;
358
+ }
359
+
360
+ .info-subtitle {
361
+ font-size: 14px;
362
+ }
363
+
364
+ .info-description {
365
+ font-size: 14px;
366
+ }
367
+ }
368
+
369
+ :global(.__eluvio-player--size-sm) {
370
+ .container {
371
+ --content-image-size: 65px;
372
+ }
373
+
374
+ .controls {
375
+ gap: 8px;
376
+ height: 45px;
377
+ }
378
+
379
+ .center-play-button {
380
+ height: 65px;
381
+ width: 65px;
382
+ }
383
+
384
+ /* Position menus relative to whole player */
385
+ .menu-control-container {
386
+ position: unset;
387
+ }
388
+
389
+ .menu {
390
+ bottom: 65px;
391
+ max-width: calc(100% - 30px);
392
+ right: 15px;
393
+ }
394
+
395
+ .info-container {
396
+ padding-right: 80px;
397
+ }
398
+
399
+ .info-headers {
400
+ font-size: 12px;
401
+ }
402
+
403
+ .info-title {
404
+ font-size: 16px;
405
+ }
406
+
407
+ .info-description {
408
+ font-size: 11px;
409
+ }
410
+
411
+ .time {
412
+ font-size: 10px;
413
+ }
414
+
415
+ .collection-button-text {
416
+ display: none;
417
+ }
418
+
419
+ .watermark {
420
+ width: 50px;
421
+ }
422
+ }
@@ -0,0 +1,141 @@
1
+ .container {
2
+ height: 100%;
3
+ inset: 0;
4
+ position: absolute;
5
+ width: 100%;
6
+ z-index: 5;
7
+ }
8
+
9
+ .overlay {
10
+ align-items: center;
11
+ animation: 0.25s fadein ease;
12
+ backdrop-filter: blur(3px);
13
+ background: rgba(0, 0, 0, 50%);
14
+ display: flex;
15
+ height: 100%;
16
+ inset: 0;
17
+ justify-content: center;
18
+ position: absolute;
19
+ width: 100%;
20
+ }
21
+
22
+ .form {
23
+ backdrop-filter: blur(10px);
24
+ background: rgba(0, 0, 0, 75%);
25
+ border-radius: 7px;
26
+ box-shadow: 0 0 50px 0 rgba(0, 0, 0, 100%);
27
+ color: #FFF;
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: 10px;
31
+ height: 100%;
32
+ max-height: 500px;
33
+ max-width: 100%;
34
+ min-width: 500px;
35
+ padding: 20px 30px;
36
+ width: max-content;
37
+ }
38
+
39
+ .header {
40
+ font-size: 16px;
41
+ font-weight: 600;
42
+ height: max-content;
43
+ }
44
+
45
+ .input-container {
46
+ display: grid;
47
+ flex-grow: 1;
48
+ grid-template-rows: 1fr auto;
49
+ }
50
+
51
+ .input {
52
+ border: 1px solid #333;
53
+ border-radius: 5px;
54
+ flex-grow: 1;
55
+ font-size: 14px;
56
+ height: 100%;
57
+ line-height: 1.3em;
58
+ max-height: 100%;
59
+ overflow-y: auto;
60
+ padding: 10px;
61
+ resize: both;
62
+ transition: border 0.15s ease, box-shadow 0.15s ease;
63
+ width: 100%;
64
+
65
+ &--invalid {
66
+ border: 1px solid rgba(255, 0, 0, 50%);
67
+ box-shadow: 0 0 10px #F00;
68
+ }
69
+
70
+ &:focus-visible {
71
+ box-shadow: 0 0 10px var(--color-highlight);
72
+ outline: 1px solid var(--color-highlight);
73
+ }
74
+ }
75
+
76
+ .player-info {
77
+ align-items: center;
78
+ display: flex;
79
+ font-size: 12px;
80
+ justify-content: space-between;
81
+ margin-top: 5px;
82
+ width: 100%;
83
+ }
84
+
85
+ .api-link {
86
+ border-bottom: 1px solid transparent;
87
+ transition: color 0.15s ease, border 0.15s ease;
88
+
89
+ &:hover,
90
+ &:focus-visible {
91
+ border-bottom: 1px solid var(--color-highlight);
92
+ color: var(--color-highlight);
93
+ }
94
+ }
95
+
96
+ .actions {
97
+ display: flex;
98
+ gap: 10px;
99
+ justify-content: flex-end;
100
+ margin-top: 20px;
101
+
102
+ .submit,
103
+ .cancel {
104
+ background-color: #FFF;
105
+ border: 1px solid #FFF;
106
+ border-radius: 5px;
107
+ color: #000;
108
+ height: 35px;
109
+ padding: 5px 30px;
110
+ transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.25s ease, border 0.15s ease;
111
+
112
+ &:disabled {
113
+ opacity: 0.5;
114
+ }
115
+
116
+ &:hover,
117
+ &:focus-visible {
118
+ box-shadow: 0 0 10px #FFF;
119
+ }
120
+ }
121
+
122
+ .cancel {
123
+ background: transparent;
124
+ color: #FFF;
125
+ }
126
+ }
127
+
128
+ :global(.__eluvio-player--size-sm) {
129
+ .form {
130
+ max-height: unset;
131
+ max-width: 100%;
132
+ min-width: unset;
133
+ padding: 30px 30px 65px;
134
+ width: 100%;
135
+ }
136
+ }
137
+
138
+ @keyframes fadein {
139
+ from { opacity: 0; }
140
+ to { opacity: 1; }
141
+ }
@@ -0,0 +1,92 @@
1
+ .player-target {
2
+ font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3
+ overscroll-behavior: none;
4
+ position: relative;
5
+ }
6
+
7
+ .player-container {
8
+ --layer-video: 1;
9
+ --layer-error: 4;
10
+ --layer-controls: 5;
11
+
12
+ --color-highlight: #3784eb;
13
+ --color-error: #f00;
14
+
15
+ height: 100%;
16
+ inset: 0;
17
+ position: absolute;
18
+ width: 100%;
19
+
20
+ &--rotated {
21
+ height: 100vw;
22
+ margin-top: -100vw;
23
+ object-fit: cover;
24
+ position: absolute;
25
+ transform: rotate(90deg);
26
+ transform-origin: bottom left;
27
+ visibility: visible;
28
+ width: 100vh;
29
+ z-index: 4;
30
+ }
31
+ }
32
+
33
+ .spinner-container {
34
+ align-items: center;
35
+ display: flex;
36
+ height: 100%;
37
+ inset: 0;
38
+ justify-content: center;
39
+ position: absolute;
40
+ width: 100%;
41
+
42
+ .spinner {
43
+ height: 50px;
44
+ width: 50px;
45
+ }
46
+ }
47
+
48
+ .controls {
49
+ z-index: var(--layer-controls);
50
+ }
51
+
52
+ .video {
53
+ background: transparent;
54
+ height: 100%;
55
+ object-fit: contain;
56
+ width: 100%;
57
+ z-index: var(--layer-video);
58
+ }
59
+
60
+ .poster {
61
+ height: 100%;
62
+ left: 0;
63
+ object-fit: contain;
64
+ object-position: center;
65
+ position: absolute;
66
+ top: 0;
67
+ user-select: none;
68
+ width: 100%;
69
+ }
70
+
71
+ .error-message {
72
+ align-items: center;
73
+ color: var(--color-error);
74
+ display: flex;
75
+ font-size: 24px;
76
+ font-weight: 300;
77
+ height: 100%;
78
+ justify-content: center;
79
+ left: 0;
80
+ position: absolute;
81
+ text-align: center;
82
+ top: 0;
83
+ width: 100%;
84
+ z-index: var(--layer-error);
85
+ }
86
+
87
+ :global(.__eluvio-player--size-md),
88
+ :global(.__eluvio-player--size-sm) {
89
+ .error-message {
90
+ font-size: 16px;
91
+ }
92
+ }
@@ -0,0 +1,79 @@
1
+ /*** The new CSS Reset - version 1.4.2 (last updated 30.11.2021) ***/
2
+ .reset {
3
+ height: 100%;
4
+ width: 100%;
5
+
6
+ /*
7
+ Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
8
+ - The "symbol *" part is to solve Firefox SVG sprite bug
9
+ */
10
+ *:where(:not(html, iframe, canvas, img, svg, video, svg *, symbol *)) {
11
+ all: unset;
12
+ display: revert;
13
+ }
14
+
15
+ /* Preferred box-sizing value */
16
+ *,
17
+ *::before,
18
+ *::after {
19
+ box-sizing: border-box;
20
+ }
21
+
22
+ body {
23
+ line-height: 1.5;
24
+ }
25
+
26
+ /* Remove list styles (bullets/numbers) */
27
+ ol, ul, menu {
28
+ list-style: none;
29
+ }
30
+
31
+ /* For images to not be able to exceed their container */
32
+ img {
33
+ max-width: 100%;
34
+ }
35
+
36
+ /* removes spacing between cells in tables */
37
+ table {
38
+ border-collapse: collapse;
39
+ }
40
+
41
+ /* revert the 'white-space' property for textarea elements on Safari */
42
+ textarea {
43
+ white-space: revert;
44
+ }
45
+
46
+ button {
47
+ text-align: center;
48
+ }
49
+
50
+ a,
51
+ button {
52
+ &:not(:disabled) {
53
+ cursor: pointer;
54
+ }
55
+ }
56
+
57
+ /* revert for bug in Chromium browsers
58
+ - fix for the content editable attribute will work properly. */
59
+ :where([contenteditable]) {
60
+ -webkit-line-break: after-white-space;
61
+ overflow-wrap: break-word;
62
+ -moz-user-modify: read-write;
63
+ -webkit-user-modify: read-write;
64
+ }
65
+
66
+ @media (prefers-reduced-motion: reduce) {
67
+ *,
68
+ ::before,
69
+ ::after {
70
+ animation-delay: -1ms !important;
71
+ animation-duration: 1ms !important;
72
+ animation-iteration-count: 1 !important;
73
+ background-attachment: initial !important;
74
+ scroll-behavior: auto !important;
75
+ transition-delay: 0s !important;
76
+ transition-duration: 0s !important;
77
+ }
78
+ }
79
+ }