@viewlift/player-backup 0.0.90 → 0.0.92
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/cjs/bundle.css +265 -186
- package/cjs/{features-fd1e9785.js → features-8fa75995.js} +1 -1
- package/cjs/index.js +1 -1
- package/cjs/{settings-icon-b350b587.js → settings-icon-f62b4ca5.js} +1 -1
- package/cjs/{skin-14da56f6.js → skin-2be8f884.js} +1 -1
- package/cjs/{skin-286f52db.js → skin-3f17dac9.js} +1 -1
- package/cjs/{skin-b703ef26.js → skin-8621980f.js} +1 -1
- package/cjs/{skin-9eba464b.js → skin-eccc9e6d.js} +1 -1
- package/esm/bundle.css +265 -186
- package/esm/{features-05101ce6.js → features-b0840bde.js} +1 -1
- package/esm/index.js +1 -1
- package/esm/{settings-icon-9bac9ef3.js → settings-icon-83258d76.js} +1 -1
- package/esm/{skin-0aea7a56.js → skin-15f3c650.js} +1 -1
- package/esm/{skin-fba79111.js → skin-3edc7d33.js} +1 -1
- package/esm/{skin-80957fd8.js → skin-9f9d78f1.js} +1 -1
- package/esm/{skin-bb73c15b.js → skin-c69b57e6.js} +1 -1
- package/package.json +1 -1
package/cjs/bundle.css
CHANGED
|
@@ -1,4 +1,188 @@
|
|
|
1
1
|
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
.widget-selection{
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.widget-selector-icon{
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.widget-container{
|
|
29
|
+
position: absolute;
|
|
30
|
+
/* height: 528px; */
|
|
31
|
+
width: 350px;
|
|
32
|
+
right: -350px;
|
|
33
|
+
bottom: 0px;
|
|
34
|
+
/* background: #626262; */
|
|
35
|
+
|
|
36
|
+
/* background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%) !important; */
|
|
37
|
+
background: #00000080 !important;
|
|
38
|
+
z-index: -1;
|
|
39
|
+
transition: right 300ms ease-out;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.widget-container.hidden{
|
|
43
|
+
visibility: hidden;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.widget-selection.open{
|
|
47
|
+
background: rgba(255, 255, 255, 0.20) !important;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.widget-selector-head{
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: self-start;
|
|
53
|
+
padding-top: 18px;
|
|
54
|
+
padding-left: 20px;
|
|
55
|
+
margin-bottom: 25px;
|
|
56
|
+
}
|
|
57
|
+
.widget-selector-title-container{
|
|
58
|
+
display: flex;
|
|
59
|
+
padding-bottom: 6px;
|
|
60
|
+
border-bottom: 2px solid #838996;
|
|
61
|
+
margin-left: 25px;
|
|
62
|
+
width: 80%;
|
|
63
|
+
margin-top: -1px;
|
|
64
|
+
}
|
|
65
|
+
.widget-selector-title{
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
user-select: none;
|
|
68
|
+
}
|
|
69
|
+
.widget-selector-title:not(:first-child){
|
|
70
|
+
margin-left: 35px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
.widget-selector-title:hover{
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.widget-selector-cross-icon{
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
81
|
+
.widget-selector-content{
|
|
82
|
+
height: 74%;
|
|
83
|
+
overflow: scroll;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.widget-selector-content::-webkit-scrollbar {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
91
|
+
.widget-selector-content {
|
|
92
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
93
|
+
scrollbar-width: none; /* Firefox */
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.widget-selector-content-video{
|
|
97
|
+
height: 300px;
|
|
98
|
+
margin-bottom: 30px;
|
|
99
|
+
/* background: red; */
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.selected-tab{
|
|
103
|
+
text-decoration: underline;
|
|
104
|
+
text-underline-offset: 8px;
|
|
105
|
+
text-decoration-thickness: 2px
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.highlights{
|
|
109
|
+
height: 175px;
|
|
110
|
+
width: 309px;
|
|
111
|
+
margin: 0 auto !important;
|
|
112
|
+
background-repeat: no-repeat;
|
|
113
|
+
background-size: contain;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.parent{
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.highlights:hover{
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.info{
|
|
124
|
+
font-size: 15px;
|
|
125
|
+
padding: 7px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.highlights-container{
|
|
129
|
+
display: flex;
|
|
130
|
+
justify-self: center;
|
|
131
|
+
align-items: center;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.widget-selector-content #sr-widget{
|
|
136
|
+
padding: 0 18px;
|
|
137
|
+
}
|
|
138
|
+
.vjs-poster {
|
|
139
|
+
display: inline-block;
|
|
140
|
+
vertical-align: middle;
|
|
141
|
+
background-repeat: no-repeat;
|
|
142
|
+
background-position: 50% 50%;
|
|
143
|
+
background-size: contain;
|
|
144
|
+
background-color: #000;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
margin: 0;
|
|
147
|
+
padding: 0;
|
|
148
|
+
position: absolute;
|
|
149
|
+
top: 0;
|
|
150
|
+
right: 0;
|
|
151
|
+
bottom: 0;
|
|
152
|
+
left: 0;
|
|
153
|
+
height: 100%;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
.video-js .vjs-tech{
|
|
158
|
+
outline: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.video-js.vjs-paused .vjs-big-play-button {
|
|
162
|
+
width: 90px;
|
|
163
|
+
height: 90px;
|
|
164
|
+
display: flex;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
align-items: center;
|
|
167
|
+
border-radius: 50%;
|
|
168
|
+
position: absolute;
|
|
169
|
+
top: 0;
|
|
170
|
+
left: 0;
|
|
171
|
+
right: 0;
|
|
172
|
+
bottom: 0;
|
|
173
|
+
margin: auto;
|
|
174
|
+
font-size: 6em;
|
|
175
|
+
line-height: 1.3em;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@media(max-width:600px){
|
|
179
|
+
button.vjs-big-play-button {
|
|
180
|
+
width: 50px !important;
|
|
181
|
+
height: 50px !important;
|
|
182
|
+
font-size: 2.1rem !important;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
2
186
|
/* ADs */
|
|
3
187
|
.ima-ad-container {
|
|
4
188
|
top: 0em;
|
|
@@ -28,7 +212,7 @@
|
|
|
28
212
|
/* IE10+ */
|
|
29
213
|
background: linear-gradient(to top, rgba(7, 20, 30, .7) 0%, rgba(7, 20, 30, 0) 100%);
|
|
30
214
|
/* W3C */
|
|
31
|
-
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#0007141E', endColorstr='#07141E', GradientType=0);
|
|
215
|
+
/* filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#0007141E', endColorstr='#07141E', GradientType=0); */
|
|
32
216
|
/* IE6-9 */
|
|
33
217
|
}
|
|
34
218
|
|
|
@@ -153,50 +337,25 @@
|
|
|
153
337
|
.video-js.vjs-playing .bumpable-ima-ad-container {
|
|
154
338
|
margin-top: -4em;
|
|
155
339
|
}
|
|
156
|
-
/* Airplay */
|
|
157
|
-
|
|
158
|
-
.vjs-airplay-button .vjs-icon-placeholder {
|
|
159
|
-
background: url('https://player.viewlift.com/images/ic_airplay_white_24px.svg') center center no-repeat;
|
|
160
|
-
background-size: contain;
|
|
161
|
-
display: inline-block;
|
|
162
|
-
width: 15px;
|
|
163
|
-
height: 15px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.vjs-airplay-button:hover {
|
|
167
|
-
cursor: pointer;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.vjs-airplay-button:hover .vjs-icon-placeholder {
|
|
171
|
-
background-image: url('https://player.viewlift.com/images/ic_airplay_white_24px.svg');
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/* Airplay end */
|
|
175
340
|
/* Resolution Module */
|
|
176
341
|
|
|
177
|
-
.
|
|
178
|
-
position: relative;
|
|
179
|
-
display: flex;
|
|
180
|
-
align-items: center;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.container {
|
|
342
|
+
.video-js .container {
|
|
184
343
|
position: relative;
|
|
185
344
|
display: flex;
|
|
186
345
|
align-items: center;
|
|
187
|
-
width:
|
|
346
|
+
width: 5em;
|
|
188
347
|
justify-content: center;
|
|
189
348
|
}
|
|
190
349
|
|
|
191
|
-
|
|
350
|
+
.video-js .setting-icon:hover {
|
|
192
351
|
cursor: pointer;
|
|
193
352
|
}
|
|
194
353
|
|
|
195
|
-
.customFontHeading {
|
|
354
|
+
.video-js .customFontHeading {
|
|
196
355
|
font-size: 13px;
|
|
197
356
|
}
|
|
198
357
|
|
|
199
|
-
.content {
|
|
358
|
+
.video-js .content {
|
|
200
359
|
opacity: 1;
|
|
201
360
|
display: flex;
|
|
202
361
|
position: absolute;
|
|
@@ -208,13 +367,18 @@
|
|
|
208
367
|
bottom: 2.4rem;
|
|
209
368
|
right: -2rem;
|
|
210
369
|
border-radius: 5px;
|
|
370
|
+
z-index: 1;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.video-js .resolution{
|
|
374
|
+
min-width: 180px;
|
|
211
375
|
}
|
|
212
376
|
|
|
213
|
-
.rendition {
|
|
377
|
+
.video-js .rendition {
|
|
214
378
|
margin: 4px;
|
|
215
379
|
}
|
|
216
380
|
|
|
217
|
-
.rendition span {
|
|
381
|
+
.video-js .rendition span {
|
|
218
382
|
background: brown;
|
|
219
383
|
color: #fff;
|
|
220
384
|
font-size: 9px;
|
|
@@ -224,37 +388,37 @@
|
|
|
224
388
|
}
|
|
225
389
|
|
|
226
390
|
@media(max-width:500px) {
|
|
227
|
-
|
|
391
|
+
.video-js .rendition {
|
|
228
392
|
margin: 1px;
|
|
229
393
|
}
|
|
230
394
|
|
|
231
|
-
.title {
|
|
395
|
+
.video-js .title {
|
|
232
396
|
margin: 2px;
|
|
233
397
|
}
|
|
234
398
|
}
|
|
235
399
|
|
|
236
|
-
.hidden {
|
|
400
|
+
.video-js .hidden {
|
|
237
401
|
opacity: 0;
|
|
238
402
|
visibility: hidden;
|
|
239
|
-
transition: visibility
|
|
403
|
+
transition: visibility 300ms, opacity 300ms;
|
|
240
404
|
}
|
|
241
405
|
|
|
242
|
-
.rendition {
|
|
406
|
+
.video-js .rendition {
|
|
243
407
|
padding: 3px 1.6rem;
|
|
244
408
|
}
|
|
245
409
|
|
|
246
|
-
.selected {
|
|
410
|
+
.video-js .selected {
|
|
247
411
|
font-weight: 900;
|
|
248
412
|
}
|
|
249
413
|
|
|
250
414
|
|
|
251
|
-
.renditions {
|
|
252
|
-
font-size:
|
|
415
|
+
.video-js .renditions {
|
|
416
|
+
font-size: 12px;
|
|
253
417
|
position: relative;
|
|
254
418
|
padding: 1px;
|
|
255
419
|
}
|
|
256
420
|
|
|
257
|
-
.rendition.selected::before {
|
|
421
|
+
.video-js .rendition.selected::before {
|
|
258
422
|
content: "";
|
|
259
423
|
position: absolute;
|
|
260
424
|
width: 5px;
|
|
@@ -267,40 +431,40 @@
|
|
|
267
431
|
transform: translateY(-50%);
|
|
268
432
|
}
|
|
269
433
|
|
|
270
|
-
.content::-webkit-scrollbar {
|
|
434
|
+
.video-js .content::-webkit-scrollbar {
|
|
271
435
|
/* WebKit */
|
|
272
436
|
width: 0;
|
|
273
437
|
height: 0;
|
|
274
438
|
}
|
|
275
439
|
|
|
276
|
-
.disable-play-btn {
|
|
440
|
+
.video-js .disable-play-btn {
|
|
277
441
|
display: none !important;
|
|
278
442
|
pointer-events: none !important;
|
|
279
443
|
}
|
|
280
444
|
|
|
281
|
-
.title {
|
|
282
|
-
font-size:
|
|
445
|
+
.video-js .title {
|
|
446
|
+
font-size: 14px;
|
|
283
447
|
font-weight: 900;
|
|
284
448
|
padding: 3px 0px;
|
|
285
|
-
margin:
|
|
449
|
+
margin-top: 5px;
|
|
286
450
|
}
|
|
287
451
|
|
|
288
|
-
.rendition:hover {
|
|
452
|
+
.video-js .rendition:hover {
|
|
289
453
|
cursor: pointer;
|
|
290
454
|
}
|
|
291
455
|
|
|
292
|
-
.relative {
|
|
456
|
+
.video-js .relative {
|
|
293
457
|
position: relative;
|
|
294
458
|
}
|
|
295
459
|
|
|
296
460
|
|
|
297
|
-
p.customFontHeading {
|
|
461
|
+
.video-js p.customFontHeading {
|
|
298
462
|
margin: 4px;
|
|
299
463
|
padding: 3px;
|
|
300
464
|
font-weight: 900;
|
|
301
465
|
}
|
|
302
466
|
|
|
303
|
-
.font {
|
|
467
|
+
.video-js .font {
|
|
304
468
|
font-size: 1rem;
|
|
305
469
|
width: 5rem;
|
|
306
470
|
}
|
|
@@ -314,16 +478,16 @@
|
|
|
314
478
|
} */
|
|
315
479
|
|
|
316
480
|
@media (max-width:700px) {
|
|
317
|
-
|
|
318
|
-
font-size:
|
|
481
|
+
.video-js .title {
|
|
482
|
+
font-size: 12px;
|
|
319
483
|
}
|
|
320
484
|
|
|
321
|
-
.rendition.selected:before {
|
|
485
|
+
.video-js .rendition.selected:before {
|
|
322
486
|
height: 5px;
|
|
323
487
|
width: 5px;
|
|
324
488
|
}
|
|
325
489
|
|
|
326
|
-
.renditions {
|
|
490
|
+
.video-js .renditions {
|
|
327
491
|
font-size: 10px;
|
|
328
492
|
}
|
|
329
493
|
|
|
@@ -334,114 +498,8 @@
|
|
|
334
498
|
}
|
|
335
499
|
|
|
336
500
|
/* Resolution Module End */
|
|
337
|
-
|
|
338
|
-
.video-js.vjs-paused .vjs-big-play-button{
|
|
339
|
-
display: flex;
|
|
340
|
-
justify-content: center;
|
|
341
|
-
align-items: center;
|
|
342
|
-
width: 50px;
|
|
343
|
-
height: 50px;
|
|
344
|
-
border-radius: 50%;
|
|
345
|
-
position: absolute;
|
|
346
|
-
top: 0;
|
|
347
|
-
left: 0;
|
|
348
|
-
right: 0;
|
|
349
|
-
bottom:0;
|
|
350
|
-
margin: auto;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.vjs-rewind-button{
|
|
354
|
-
cursor: pointer;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.vjs-skip-button{
|
|
358
|
-
cursor: pointer;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.vjs-playback-rate .vjs-playback-rate-value {
|
|
362
|
-
pointer-events: none;
|
|
363
|
-
font-size: 1.3em;
|
|
364
|
-
line-height: 2.4;
|
|
365
|
-
text-align: center;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
.video-js .vjs-live-display {
|
|
370
|
-
background-color: red;
|
|
371
|
-
padding: 0 5px;
|
|
372
|
-
height: 20px;
|
|
373
|
-
top: 5px;
|
|
374
|
-
position: relative;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.video-js .vjs-live-control {
|
|
378
|
-
line-height: 2em;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
/* Progress Bar Modification css */
|
|
384
|
-
/* .video-js .vjs-progress-control {
|
|
385
|
-
position: absolute;
|
|
386
|
-
width: 95%;
|
|
387
|
-
height: 0.5em;
|
|
388
|
-
top: -0.5em;
|
|
389
|
-
transition: height .1s,top .1s;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.video-js .vjs-time-control {
|
|
393
|
-
position: absolute;
|
|
394
|
-
top: -17px;
|
|
395
|
-
right: 0;
|
|
396
|
-
margin-right: 1%;
|
|
397
|
-
font-size: 10px;
|
|
398
|
-
font-weight: 700;
|
|
399
|
-
line-height: 2.5em;
|
|
400
|
-
letter-spacing: -.03em;
|
|
401
|
-
flex: 0 1 auto;
|
|
402
|
-
width: auto;
|
|
403
|
-
padding-left: 0;
|
|
404
|
-
padding-right: 0;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
.video-js .vjs-custom-control-spacer {
|
|
409
|
-
display: block;
|
|
410
|
-
flex: 1 1 auto;
|
|
411
|
-
} */
|
|
412
|
-
|
|
413
|
-
/* End Progress Bar Modification css */
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
.vjs-poster {
|
|
417
|
-
display: inline-block;
|
|
418
|
-
vertical-align: middle;
|
|
419
|
-
background-repeat: no-repeat;
|
|
420
|
-
background-position: 50% 50%;
|
|
421
|
-
background-size: contain;
|
|
422
|
-
background-color: #000;
|
|
423
|
-
cursor: pointer;
|
|
424
|
-
margin: 0;
|
|
425
|
-
padding: 0;
|
|
426
|
-
position: absolute;
|
|
427
|
-
top: 0;
|
|
428
|
-
right: 0;
|
|
429
|
-
bottom: 0;
|
|
430
|
-
left: 0;
|
|
431
|
-
height: 100%;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
/* chromecast test*/
|
|
435
|
-
/* button.vjs-chromecast-button.vjs-control.vjs-button{
|
|
436
|
-
position: absolute;
|
|
437
|
-
top: 1rem;
|
|
438
|
-
width: auto;
|
|
439
|
-
right: 1rem;
|
|
440
|
-
height: auto;
|
|
441
|
-
} */
|
|
442
|
-
|
|
443
501
|
/* Chromecast */
|
|
444
|
-
.vjs-chromecast-button .vjs-icon-placeholder {
|
|
502
|
+
.video-js .vjs-chromecast-button .vjs-icon-placeholder {
|
|
445
503
|
background: url('https://player.viewlift.com/images/ic_cast_white_24dp.png') center center no-repeat;
|
|
446
504
|
background-size: contain;
|
|
447
505
|
display: inline-block;
|
|
@@ -449,24 +507,26 @@
|
|
|
449
507
|
height: 16px;
|
|
450
508
|
}
|
|
451
509
|
|
|
452
|
-
.vjs-chromecast-button:hover {
|
|
510
|
+
.video-js .vjs-chromecast-button:hover {
|
|
453
511
|
cursor: pointer;
|
|
454
512
|
}
|
|
455
513
|
|
|
456
|
-
.vjs-chromecast-button:hover .vjs-icon-placeholder {
|
|
514
|
+
.video-js .vjs-chromecast-button:hover .vjs-icon-placeholder {
|
|
457
515
|
background-image: url('https://player.viewlift.com/images/ic_cast_white_24dp.png');
|
|
458
516
|
}
|
|
459
517
|
|
|
460
|
-
.vjs-chromecast-button.vjs-chromecast-casting-state .vjs-icon-placeholder {
|
|
518
|
+
.video-js .vjs-chromecast-button.vjs-chromecast-casting-state .vjs-icon-placeholder {
|
|
461
519
|
background-image: url('https://player.viewlift.com/images/ic_cast_connected_white_24dp.png');
|
|
462
520
|
}
|
|
463
521
|
|
|
464
|
-
.vjs-chromecast-button.vjs-chromecast-casting-state:hover .vjs-icon-placeholder {
|
|
522
|
+
.video-js .vjs-chromecast-button.vjs-chromecast-casting-state:hover .vjs-icon-placeholder {
|
|
465
523
|
background-image: url('https://player.viewlift.com/images/ic_cast_connected_white_24dp.png');
|
|
466
524
|
}
|
|
525
|
+
.video-js .vjs-chromecast-button >.vjs-chromecast-button-label{
|
|
526
|
+
display: none !important;
|
|
527
|
+
}
|
|
467
528
|
|
|
468
|
-
|
|
469
|
-
.vjs-tech-chromecast {
|
|
529
|
+
.video-js .vjs-tech-chromecast {
|
|
470
530
|
display: flex;
|
|
471
531
|
flex-direction: column;
|
|
472
532
|
justify-content: center;
|
|
@@ -474,7 +534,7 @@
|
|
|
474
534
|
overflow: hidden;
|
|
475
535
|
}
|
|
476
536
|
|
|
477
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-poster::after {
|
|
537
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-poster::after {
|
|
478
538
|
content: ' ';
|
|
479
539
|
display: block;
|
|
480
540
|
height: 2px;
|
|
@@ -484,18 +544,18 @@
|
|
|
484
544
|
left: calc(50% - 50px);
|
|
485
545
|
}
|
|
486
546
|
|
|
487
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-poster-img {
|
|
547
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-poster-img {
|
|
488
548
|
max-height: 180px;
|
|
489
549
|
width: auto;
|
|
490
550
|
border: 2px solid #cccccc;
|
|
491
551
|
}
|
|
492
552
|
|
|
493
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-poster-img.vjs-tech-chromecast-poster-img-empty {
|
|
553
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-poster-img.vjs-tech-chromecast-poster-img-empty {
|
|
494
554
|
width: 160px;
|
|
495
555
|
height: 90px;
|
|
496
556
|
}
|
|
497
557
|
|
|
498
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-title-container {
|
|
558
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-title-container {
|
|
499
559
|
position: absolute;
|
|
500
560
|
bottom: 50%;
|
|
501
561
|
margin-bottom: 100px;
|
|
@@ -503,24 +563,24 @@
|
|
|
503
563
|
text-align: center;
|
|
504
564
|
}
|
|
505
565
|
|
|
506
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-title {
|
|
566
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-title {
|
|
507
567
|
font-size: 22px;
|
|
508
568
|
}
|
|
509
569
|
|
|
510
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-title.vjs-tech-chromecast-title-empty {
|
|
570
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-title.vjs-tech-chromecast-title-empty {
|
|
511
571
|
display: none;
|
|
512
572
|
}
|
|
513
573
|
|
|
514
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-subtitle {
|
|
574
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-subtitle {
|
|
515
575
|
font-size: 18px;
|
|
516
576
|
padding-top: 0.5em;
|
|
517
577
|
}
|
|
518
578
|
|
|
519
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-subtitle.vjs-tech-chromecast-subtitle-empty {
|
|
579
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-subtitle.vjs-tech-chromecast-subtitle-empty {
|
|
520
580
|
display: none;
|
|
521
581
|
}
|
|
522
582
|
|
|
523
|
-
.vjs-tech-chromecast {
|
|
583
|
+
.video-js .vjs-tech-chromecast {
|
|
524
584
|
display: flex;
|
|
525
585
|
flex-direction: column;
|
|
526
586
|
justify-content: center;
|
|
@@ -528,7 +588,7 @@
|
|
|
528
588
|
overflow: hidden;
|
|
529
589
|
}
|
|
530
590
|
|
|
531
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-poster::after {
|
|
591
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-poster::after {
|
|
532
592
|
content: ' ';
|
|
533
593
|
display: block;
|
|
534
594
|
height: 2px;
|
|
@@ -538,18 +598,18 @@
|
|
|
538
598
|
left: calc(50% - 50px);
|
|
539
599
|
}
|
|
540
600
|
|
|
541
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-poster-img {
|
|
601
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-poster-img {
|
|
542
602
|
max-height: 180px;
|
|
543
603
|
width: auto;
|
|
544
604
|
border: 2px solid #ccc;
|
|
545
605
|
}
|
|
546
606
|
|
|
547
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-poster-img.vjs-tech-chromecast-poster-img-empty {
|
|
607
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-poster-img.vjs-tech-chromecast-poster-img-empty {
|
|
548
608
|
width: 160px;
|
|
549
609
|
height: 90px;
|
|
550
610
|
}
|
|
551
611
|
|
|
552
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-title-container {
|
|
612
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-title-container {
|
|
553
613
|
position: absolute;
|
|
554
614
|
bottom: 50%;
|
|
555
615
|
margin-bottom: 100px;
|
|
@@ -557,21 +617,40 @@
|
|
|
557
617
|
text-align: center;
|
|
558
618
|
}
|
|
559
619
|
|
|
560
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-title {
|
|
620
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-title {
|
|
561
621
|
font-size: 22px;
|
|
562
622
|
}
|
|
563
623
|
|
|
564
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-title.vjs-tech-chromecast-title-empty {
|
|
624
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-title.vjs-tech-chromecast-title-empty {
|
|
565
625
|
display: none;
|
|
566
626
|
}
|
|
567
627
|
|
|
568
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-subtitle {
|
|
628
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-subtitle {
|
|
569
629
|
font-size: 18px;
|
|
570
630
|
padding-top: 0.5em;
|
|
571
631
|
}
|
|
572
632
|
|
|
573
|
-
.vjs-tech-chromecast .vjs-tech-chromecast-subtitle.vjs-tech-chromecast-subtitle-empty {
|
|
633
|
+
.video-js .vjs-tech-chromecast .vjs-tech-chromecast-subtitle.vjs-tech-chromecast-subtitle-empty {
|
|
574
634
|
display: none;
|
|
575
635
|
}
|
|
576
636
|
|
|
577
|
-
/* Chromecast End */
|
|
637
|
+
/* Chromecast End */
|
|
638
|
+
/* Airplay */
|
|
639
|
+
|
|
640
|
+
.video-js .vjs-airplay-button .vjs-icon-placeholder {
|
|
641
|
+
background: url('https://player.viewlift.com/images/ic_airplay_white_24px.svg') center center no-repeat;
|
|
642
|
+
background-size: contain;
|
|
643
|
+
display: inline-block;
|
|
644
|
+
width: 15px;
|
|
645
|
+
height: 15px;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.video-js .vjs-airplay-button:hover {
|
|
649
|
+
cursor: pointer;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.video-js .vjs-airplay-button:hover .vjs-icon-placeholder {
|
|
653
|
+
background-image: url('https://player.viewlift.com/images/ic_airplay_white_24px.svg');
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/* Airplay end */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-81b1be69.js"),s=require("./renditions-c3ea26e8.js");function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=l(e);if(t){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return o(this,r)}}exports.addCaptionButton=function(e,t){Promise.resolve().then((function(){return require("./caption-settings-6e301004.js")})).then((function(r){var n,o,l,s,u=r.default,c=a.getPlayer(e);i.registerComponent("captionSelector",u),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("caption-selection vjs-control vjs-button"))||void 0===l||null===(s=l[0])||void 0===s||s.remove(),c.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},c.controlBar.children().length-3)}))},exports.addMulticamSelector=function(e,t){Promise.resolve().then((function(){return require("./multicamv2-f48d95fe.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)}))},exports.addMulticamView=function(e,t){Promise.resolve().then((function(){return require("./multicam-1647c428.js")})).then((function(r){var n=r.default,o=t.streams,l=a.getPlayer(e);i.registerComponent("multicamModule",n),l.getChild("controlBar").addChild("multicamModule",{playerId:e,streams:o,config:t},l.controlBar.children().length)}));var r=document.querySelector(".vjs-control-bar");r&&"live"==(null==t?void 0:t.skin)&&(r.style.background="transparent")},exports.addMwebPotraitTrayModule=function(e,t){Promise.resolve().then((function(){return require("./mwebPotraitTray-a3a2715b.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("mwebPotraitTray",n),o.getChild("controlBar").addChild("mwebPotraitTray",{playerId:e,config:t},0)}))},exports.addNextEpisodeButton=function(e,t,r){Promise.resolve().then((function(){return require("./nextEpisodeButton-cc80609a.js")})).then((function(n){var o=n.default,l=a.getPlayer(r);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:r,sres:e,res:t},l.controlBar.children().length-5)}))},exports.addPlaylistSelector=function(e,t){Promise.resolve().then((function(){return require("./playlist-a550a735.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("playlistSelector",n),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)}))},exports.addResolutionModule=function(e,t,r){Promise.resolve().then((function(){return require("./resolution-51b38a3e.js")})).then((function(n){var o=n.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=a.getPlayer(e),u=s.getRenditions(e);(null==u?void 0:u.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:r,renditions:u},l.controlBar.children().length-4))}))},exports.addRewindButton=function(e,o,l){var s=function(o){n(s,o);var i=c(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;return o.classList.add("vjs-rewind-button"),o.innerHTML=l,n}return r(s,[{key:"handleClick",value:function(){a.rewind(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSeriesModule=function(e,t,r){Promise.resolve().then((function(){return require("./series-6178964e.js")})).then((function(n){var o=n.seriesModule,l=a.getPlayer(e);i.registerComponent("seriesModule",o),l.getChild("controlBar").addChild("seriesModule",{playerId:e,seriesData:t},l.controlBar.children().length-4);for(var s=document.querySelectorAll(".season-title-sdk"),u=function(e){s[e].addEventListener("click",(function(){t[e]&&n.handleSeasonChange(t[e],e,l,r)}))},c=0;c<s.length;c++)u(c)}))},exports.addSeriesSelectorV2=function(t,r){Promise.resolve().then((function(){return require("./series-v2-a265ff17.js")})).then((function(n){var o=n.default,l=a.getPlayer(t);i.registerComponent("seriesV2",o),l.getChild("controlBar").addChild("seriesV2",function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({playerId:t},r),l.controlBar.children().length-3)}))},exports.addSettingsButtonV2=function(e,t){Promise.resolve().then((function(){return require("./settings-icon-
|
|
1
|
+
"use strict";var e=require("@babel/runtime/helpers/defineProperty"),t=require("@babel/runtime/helpers/classCallCheck"),r=require("@babel/runtime/helpers/createClass"),n=require("@babel/runtime/helpers/inherits"),o=require("@babel/runtime/helpers/possibleConstructorReturn"),l=require("@babel/runtime/helpers/getPrototypeOf"),i=require("video.js"),a=require("./generic-81b1be69.js"),s=require("./renditions-c3ea26e8.js");function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=l(e);if(t){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return o(this,r)}}exports.addCaptionButton=function(e,t){Promise.resolve().then((function(){return require("./caption-settings-6e301004.js")})).then((function(r){var n,o,l,s,u=r.default,c=a.getPlayer(e);i.registerComponent("captionSelector",u),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("caption-selection vjs-control vjs-button"))||void 0===l||null===(s=l[0])||void 0===s||s.remove(),c.getChild("controlBar").addChild("captionSelector",{playerId:e,options:t},c.controlBar.children().length-3)}))},exports.addMulticamSelector=function(e,t){Promise.resolve().then((function(){return require("./multicamv2-f48d95fe.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("streamSelector",n),o.getChild("controlBar").addChild("streamSelector",{playerId:e,streams:t},o.controlBar.children().length-4)}))},exports.addMulticamView=function(e,t){Promise.resolve().then((function(){return require("./multicam-1647c428.js")})).then((function(r){var n=r.default,o=t.streams,l=a.getPlayer(e);i.registerComponent("multicamModule",n),l.getChild("controlBar").addChild("multicamModule",{playerId:e,streams:o,config:t},l.controlBar.children().length)}));var r=document.querySelector(".vjs-control-bar");r&&"live"==(null==t?void 0:t.skin)&&(r.style.background="transparent")},exports.addMwebPotraitTrayModule=function(e,t){Promise.resolve().then((function(){return require("./mwebPotraitTray-a3a2715b.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("mwebPotraitTray",n),o.getChild("controlBar").addChild("mwebPotraitTray",{playerId:e,config:t},0)}))},exports.addNextEpisodeButton=function(e,t,r){Promise.resolve().then((function(){return require("./nextEpisodeButton-cc80609a.js")})).then((function(n){var o=n.default,l=a.getPlayer(r);i.registerComponent("nextEpisodeButtonModule",o),l.getChild("controlBar").addChild("nextEpisodeButtonModule",{playerId:r,sres:e,res:t},l.controlBar.children().length-5)}))},exports.addPlaylistSelector=function(e,t){Promise.resolve().then((function(){return require("./playlist-a550a735.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("playlistSelector",n),o.getChild("controlBar").addChild("playlistSelector",{playerId:e,playlist:t},o.controlBar.children().length-3)}))},exports.addResolutionModule=function(e,t,r){Promise.resolve().then((function(){return require("./resolution-51b38a3e.js")})).then((function(n){var o=n.default;document.getElementById(e).getElementsByClassName("container")[0]&&document.getElementById(e).getElementsByClassName("container")[0].remove();var l=a.getPlayer(e),u=s.getRenditions(e);(null==u?void 0:u.length)>0&&(i.registerComponent("resolutionModule",o),l.getChild("controlBar").addChild("resolutionModule",{playerId:e,skin:t,icon:r,renditions:u},l.controlBar.children().length-4))}))},exports.addRewindButton=function(e,o,l){var s=function(o){n(s,o);var i=c(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;return o.classList.add("vjs-rewind-button"),o.innerHTML=l,n}return r(s,[{key:"handleClick",value:function(){a.rewind(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSeriesModule=function(e,t,r){Promise.resolve().then((function(){return require("./series-6178964e.js")})).then((function(n){var o=n.seriesModule,l=a.getPlayer(e);i.registerComponent("seriesModule",o),l.getChild("controlBar").addChild("seriesModule",{playerId:e,seriesData:t},l.controlBar.children().length-4);for(var s=document.querySelectorAll(".season-title-sdk"),u=function(e){s[e].addEventListener("click",(function(){t[e]&&n.handleSeasonChange(t[e],e,l,r)}))},c=0;c<s.length;c++)u(c)}))},exports.addSeriesSelectorV2=function(t,r){Promise.resolve().then((function(){return require("./series-v2-a265ff17.js")})).then((function(n){var o=n.default,l=a.getPlayer(t);i.registerComponent("seriesV2",o),l.getChild("controlBar").addChild("seriesV2",function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?u(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({playerId:t},r),l.controlBar.children().length-3)}))},exports.addSettingsButtonV2=function(e,t){Promise.resolve().then((function(){return require("./settings-icon-f62b4ca5.js")})).then((function(r){var n,o,l,s,u=r.default,c=a.getPlayer(e);i.registerComponent("settingsSelector",u),null===(n=document)||void 0===n||null===(o=n.getElementById(e))||void 0===o||null===(l=o.getElementsByClassName("settings-selection vjs-control vjs-button"))||void 0===l||null===(s=l[0])||void 0===s||s.remove(),c.getChild("controlBar").addChild("settingsSelector",{playerId:e,options:t},c.controlBar.children().length-3)}))},exports.addSkipButton=function(e,o,l){var s=function(o){n(s,o);var i=c(s);function s(e,r){var n;t(this,s);var o=(n=i.call(this,e,r)).el_;return o.classList.add("vjs-skip-button"),o.innerHTML=l,n}return r(s,[{key:"handleClick",value:function(){a.skip(e,10)}}]),s}(i.getComponent("Button"));i.registerComponent("MyButton",s),i(e).getChild("controlBar").addChild("myButton",{},1)},exports.addSlowMotion=function(e){var o=function(e){n(i,e);var o=c(i);function i(e,r){var n;t(this,i);var l=(n=o.call(this,e,r)).el_;return l.classList.add("vjs-slowmo-button"),l.innerHTML="Slow Mo",n}return r(i,[{key:"handleClick",value:function(){1==l.playbackRate()?(l.playbackRate(.5),this.el().style.background="darkgray"):(l.playbackRate(1),this.el().style.background="none")}}]),i}(i.getComponent("Button"));i.registerComponent("MyButton",o);var l=i(e);l.getChild("controlBar").addChild("myButton",{},2)},exports.addVideoSelector=function(e,t){Promise.resolve().then((function(){return require("./videoSelector-a4c00f50.js")})).then((function(r){var n=r.default,o=a.getPlayer(e);i.registerComponent("videoSelector",n),o.getChild("controlBar").addChild("videoSelector",{playerId:e,related:t},o.controlBar.children().length-3)}))};
|