wg-video-player 1.0.0-beta.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.
@@ -0,0 +1,743 @@
1
+ const smartTopics = [
2
+ {
3
+ id: 831,
4
+ positions: [{ id: 1099, label: null, position: 252 }],
5
+ replay_id: 5649,
6
+ status: 'unpublished',
7
+ topic: '量子纠缠',
8
+ type: 'smart',
9
+ weight: 90,
10
+ },
11
+ {
12
+ id: 832,
13
+ positions: [
14
+ { id: 1100, label: null, position: 33 },
15
+ {
16
+ id: 1101,
17
+ label: null,
18
+ position: 202,
19
+ },
20
+ ],
21
+ replay_id: 5649,
22
+ status: 'unpublished',
23
+ topic: '哈密顿算符',
24
+ type: 'smart',
25
+ weight: 90,
26
+ },
27
+ {
28
+ id: 833,
29
+ positions: [{ id: 1102, label: null, position: 155 }],
30
+ replay_id: 5649,
31
+ status: 'unpublished',
32
+ topic: '干涉',
33
+ type: 'smart',
34
+ weight: 90,
35
+ },
36
+ {
37
+ id: 842,
38
+ positions: [{ id: 1116, label: null, position: 68 }],
39
+ replay_id: 5649,
40
+ status: 'unpublished',
41
+ topic: '不确定原理',
42
+ type: 'smart',
43
+ weight: 90,
44
+ },
45
+ {
46
+ id: 835,
47
+ positions: [{ id: 1105, label: null, position: 184 }],
48
+ replay_id: 5649,
49
+ status: 'unpublished',
50
+ topic: '量子测量',
51
+ type: 'smart',
52
+ weight: 80,
53
+ },
54
+ {
55
+ id: 834,
56
+ positions: [
57
+ { id: 1103, label: null, position: 38 },
58
+ {
59
+ id: 1104,
60
+ label: null,
61
+ position: 116,
62
+ },
63
+ ],
64
+ replay_id: 5649,
65
+ status: 'unpublished',
66
+ topic: '量子退相干',
67
+ type: 'smart',
68
+ weight: 60,
69
+ },
70
+ {
71
+ id: 839,
72
+ positions: [{ id: 1111, label: null, position: 162 }],
73
+ replay_id: 5649,
74
+ status: 'unpublished',
75
+ topic: '量子遂穿效应',
76
+ type: 'smart',
77
+ weight: 60,
78
+ },
79
+ {
80
+ id: 825,
81
+ positions: [
82
+ { id: 1092, label: null, position: 185 },
83
+ {
84
+ id: 1091,
85
+ label: null,
86
+ position: 239,
87
+ },
88
+ ],
89
+ replay_id: 5649,
90
+ status: 'unpublished',
91
+ topic: '量子物理',
92
+ type: 'smart',
93
+ weight: 50,
94
+ },
95
+ {
96
+ id: 826,
97
+ positions: [{ id: 1093, label: null, position: 242 }],
98
+ replay_id: 5649,
99
+ status: 'unpublished',
100
+ topic: '狄拉克符号',
101
+ type: 'smart',
102
+ weight: 40,
103
+ },
104
+ {
105
+ id: 840,
106
+ positions: [
107
+ { id: 1112, label: null, position: 11 },
108
+ {
109
+ id: 1113,
110
+ label: null,
111
+ position: 36,
112
+ },
113
+ ],
114
+ replay_id: 5649,
115
+ status: 'unpublished',
116
+ topic: '散射理论',
117
+ type: 'smart',
118
+ weight: 40,
119
+ },
120
+ {
121
+ id: 841,
122
+ positions: [
123
+ { id: 1115, label: null, position: 13 },
124
+ {
125
+ id: 1114,
126
+ label: null,
127
+ position: 216,
128
+ },
129
+ ],
130
+ replay_id: 5649,
131
+ status: 'unpublished',
132
+ topic: '量子力学对称性',
133
+ type: 'smart',
134
+ weight: 40,
135
+ },
136
+ {
137
+ id: 827,
138
+ positions: [
139
+ { id: 1094, label: null, position: 149 },
140
+ {
141
+ id: 1095,
142
+ label: null,
143
+ position: 241,
144
+ },
145
+ ],
146
+ replay_id: 5649,
147
+ status: 'unpublished',
148
+ topic: '互补原理',
149
+ type: 'smart',
150
+ weight: 30,
151
+ },
152
+ {
153
+ id: 829,
154
+ positions: [{ id: 1097, label: null, position: 51 }],
155
+ replay_id: 5649,
156
+ status: 'unpublished',
157
+ topic: '能级',
158
+ type: 'smart',
159
+ weight: 30,
160
+ },
161
+ {
162
+ id: 838,
163
+ positions: [
164
+ { id: 1110, label: null, position: 88 },
165
+ {
166
+ id: 1109,
167
+ label: null,
168
+ position: 208,
169
+ },
170
+ ],
171
+ replay_id: 5649,
172
+ status: 'unpublished',
173
+ topic: '太叠加原理',
174
+ type: 'smart',
175
+ weight: 30,
176
+ },
177
+ {
178
+ id: 843,
179
+ positions: [
180
+ { id: 1117, label: null, position: 203 },
181
+ {
182
+ id: 1118,
183
+ label: null,
184
+ position: 239,
185
+ },
186
+ ],
187
+ replay_id: 5649,
188
+ status: 'unpublished',
189
+ topic: '波函数',
190
+ type: 'smart',
191
+ weight: 30,
192
+ },
193
+ {
194
+ id: 844,
195
+ positions: [
196
+ { id: 1120, label: null, position: 83 },
197
+ {
198
+ id: 1119,
199
+ label: null,
200
+ position: 133,
201
+ },
202
+ ],
203
+ replay_id: 5649,
204
+ status: 'unpublished',
205
+ topic: '量子跳跃',
206
+ type: 'smart',
207
+ weight: 30,
208
+ },
209
+ {
210
+ id: 830,
211
+ positions: [{ id: 1098, label: null, position: 59 }],
212
+ replay_id: 5649,
213
+ status: 'unpublished',
214
+ topic: '零点能量',
215
+ type: 'smart',
216
+ weight: 20,
217
+ },
218
+ {
219
+ id: 836,
220
+ positions: [{ id: 1106, label: null, position: 237 }],
221
+ replay_id: 5649,
222
+ status: 'unpublished',
223
+ topic: '量子非局部性',
224
+ type: 'smart',
225
+ weight: 20,
226
+ },
227
+ {
228
+ id: 837,
229
+ positions: [
230
+ { id: 1108, label: null, position: 78 },
231
+ {
232
+ id: 1107,
233
+ label: null,
234
+ position: 277,
235
+ },
236
+ ],
237
+ replay_id: 5649,
238
+ status: 'unpublished',
239
+ topic: '量子态',
240
+ type: 'smart',
241
+ weight: 20,
242
+ },
243
+ {
244
+ id: 828,
245
+ positions: [{ id: 1096, label: null, position: 264 }],
246
+ replay_id: 5649,
247
+ status: 'unpublished',
248
+ topic: '密度矩阵',
249
+ type: 'smart',
250
+ weight: 10,
251
+ },
252
+ ];
253
+
254
+ const artificialTopics = [
255
+ {
256
+ id: 804,
257
+ positions: [{ id: 1060, label: null, position: 162 }],
258
+ replay_id: 5649,
259
+ status: 'published',
260
+ topic: '量子遂穿效应',
261
+ type: 'artificial',
262
+ weight: 0,
263
+ },
264
+ {
265
+ id: 762,
266
+ positions: [{ id: 947, label: 'exam', position: 504 }],
267
+ replay_id: 5649,
268
+ status: 'published',
269
+ topic: '智能标注 20',
270
+ type: 'artificial',
271
+ weight: 0,
272
+ },
273
+ {
274
+ id: 759,
275
+ positions: [{ id: 993, label: 'example', position: 948 }],
276
+ replay_id: 5649,
277
+ status: 'published',
278
+ topic: '智能标注',
279
+ type: 'artificial',
280
+ weight: 0,
281
+ },
282
+ {
283
+ id: 760,
284
+ positions: [
285
+ { id: 1058, label: 'think', position: 1302 },
286
+ {
287
+ id: 1059,
288
+ label: 'exam',
289
+ position: 2809,
290
+ },
291
+ ],
292
+ replay_id: 5649,
293
+ status: 'published',
294
+ topic: '智能标注 19',
295
+ type: 'artificial',
296
+ weight: 0,
297
+ },
298
+ {
299
+ id: 758,
300
+ positions: [{ id: 970, label: null, position: 1906 }],
301
+ replay_id: 5649,
302
+ status: 'published',
303
+ topic: '智能标注 15',
304
+ type: 'artificial',
305
+ weight: 1,
306
+ },
307
+ {
308
+ id: 804,
309
+ positions: [{ id: 1060, label: null, position: 162 }],
310
+ replay_id: 5649,
311
+ status: 'published',
312
+ topic: '量子遂穿效应',
313
+ type: 'artificial',
314
+ weight: 0,
315
+ },
316
+ {
317
+ id: 762,
318
+ positions: [{ id: 947, label: 'exam', position: 504 }],
319
+ replay_id: 5649,
320
+ status: 'published',
321
+ topic: '智能标注 20',
322
+ type: 'artificial',
323
+ weight: 0,
324
+ },
325
+ {
326
+ id: 759,
327
+ positions: [{ id: 993, label: 'example', position: 948 }],
328
+ replay_id: 5649,
329
+ status: 'published',
330
+ topic: '智能标注',
331
+ type: 'artificial',
332
+ weight: 0,
333
+ },
334
+ {
335
+ id: 760,
336
+ positions: [
337
+ { id: 1058, label: 'think', position: 1302 },
338
+ {
339
+ id: 1059,
340
+ label: 'exam',
341
+ position: 2809,
342
+ },
343
+ ],
344
+ replay_id: 5649,
345
+ status: 'published',
346
+ topic: '智能标注 19',
347
+ type: 'artificial',
348
+ weight: 0,
349
+ },
350
+ {
351
+ id: 758,
352
+ positions: [{ id: 970, label: null, position: 1906 }],
353
+ replay_id: 5649,
354
+ status: 'published',
355
+ topic: '智能标注 15',
356
+ type: 'artificial',
357
+ weight: 1,
358
+ },
359
+ ];
360
+
361
+ const captionUrl =
362
+ 'http://lrp.qa.tronclass.com.cn:8002/download/file/7b9c2b922b3eff9f89b33a60901bddf52e8601bd?app_key=4d008eab6677&name=bumbreoro9qoobee%281%29.vtt&timestamp=1562814751&token=7e7180985258a0f6125c';
363
+
364
+ const notes = {
365
+ rows: [
366
+ {
367
+ updated: '2019-07-09T08:20:25.142462+00:00',
368
+ links: {
369
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/Go5zFKIfEemjJpvFDCfbMA',
370
+ html: 'http://notabene.stg.tronclass.com.cn/a/Go5zFKIfEemjJpvFDCfbMA',
371
+ },
372
+ tags: [],
373
+ text: 'test',
374
+ enrollment_role: '',
375
+ user: 'acct:wgt1@localhost',
376
+ course_id: null,
377
+ id: 'Go5zFKIfEemjJpvFDCfbMA',
378
+ permissions: {
379
+ read: ['group:__world__'],
380
+ admin: ['acct:wgt1@localhost'],
381
+ update: ['acct:wgt1@localhost'],
382
+ delete: ['acct:wgt1@localhost'],
383
+ },
384
+ group: '__world__',
385
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
386
+ created: '2019-07-09T07:56:48.444108+00:00',
387
+ user_info: { display_name: 'David Robert Joseph Beckham', user_no: 'wgt1' },
388
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
389
+ source: 'my_resource',
390
+ position: 0,
391
+ hidden: false,
392
+ document: {},
393
+ flagged: false,
394
+ },
395
+ {
396
+ updated: '2019-07-09T07:48:01.151538+00:00',
397
+ links: {
398
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/uywHHqIVEemLnh87H-fKYQ',
399
+ html: 'http://notabene.stg.tronclass.com.cn/a/uywHHqIVEemLnh87H-fKYQ',
400
+ },
401
+ extra: { snapshots: ['7f7d109e01e27b20b6403ec9989b09cb482d8a64', 'b467f560462ef56119eda260487e4cf9d4cce85b'] },
402
+ text: '',
403
+ enrollment_role: '',
404
+ user: 'acct:wgt1@localhost',
405
+ course_id: null,
406
+ id: 'uywHHqIVEemLnh87H-fKYQ',
407
+ permissions: {
408
+ read: ['group:__world__'],
409
+ admin: ['acct:wgt1@localhost'],
410
+ update: ['acct:wgt1@localhost'],
411
+ delete: ['acct:wgt1@localhost'],
412
+ },
413
+ group: '__world__',
414
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
415
+ created: '2019-07-09T06:49:42.948211+00:00',
416
+ user_info: { display_name: 'David Robert Joseph Beckham', user_no: 'wgt1' },
417
+ tags: [],
418
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
419
+ source: 'my_resource',
420
+ position: 0,
421
+ hidden: false,
422
+ document: {},
423
+ flagged: false,
424
+ },
425
+ {
426
+ updated: '2019-07-09T06:17:55.927651+00:00',
427
+ links: {
428
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/Sn6SQqIREemAvq-4L5BgqQ',
429
+ html: 'http://notabene.stg.tronclass.com.cn/a/Sn6SQqIREemAvq-4L5BgqQ',
430
+ },
431
+ extra: { snapshots: ['9863b8b84632672b5967926f3c50b759365fa80e', '81e96e89ebf7b8c0aa30f0549b419f38ffa08e16'] },
432
+ text: 'test',
433
+ enrollment_role: '',
434
+ user: 'acct:U0001@localhost',
435
+ course_id: null,
436
+ id: 'Sn6SQqIREemAvq-4L5BgqQ',
437
+ permissions: {
438
+ read: ['acct:U0001@localhost'],
439
+ admin: ['acct:U0001@localhost'],
440
+ update: ['acct:U0001@localhost'],
441
+ delete: ['acct:U0001@localhost'],
442
+ },
443
+ group: '__world__',
444
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
445
+ created: '2019-07-09T06:17:55.927651+00:00',
446
+ user_info: { display_name: '\u7ba1\u7406\u5458', user_no: 'U0001' },
447
+ tags: [],
448
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
449
+ source: 'my_resource',
450
+ position: 0,
451
+ hidden: false,
452
+ document: {},
453
+ flagged: false,
454
+ },
455
+ {
456
+ updated: '2019-07-09T01:48:29.058607+00:00',
457
+ links: {
458
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/pkpS-KHrEemAvi-j4XYsMQ',
459
+ html: 'http://notabene.stg.tronclass.com.cn/a/pkpS-KHrEemAvi-j4XYsMQ',
460
+ },
461
+ tags: [],
462
+ text: 'fdsfd',
463
+ enrollment_role: '',
464
+ user: 'acct:U0001@localhost',
465
+ course_id: null,
466
+ id: 'pkpS-KHrEemAvi-j4XYsMQ',
467
+ permissions: {
468
+ read: ['acct:U0001@localhost'],
469
+ admin: ['acct:U0001@localhost'],
470
+ update: ['acct:U0001@localhost'],
471
+ delete: ['acct:U0001@localhost'],
472
+ },
473
+ group: '__world__',
474
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
475
+ created: '2019-07-09T01:48:29.058607+00:00',
476
+ user_info: { display_name: '\u7ba1\u7406\u5458', user_no: 'U0001' },
477
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
478
+ source: 'my_resource',
479
+ position: 0,
480
+ hidden: false,
481
+ document: {},
482
+ flagged: false,
483
+ },
484
+ {
485
+ updated: '2019-07-09T07:49:10.717251+00:00',
486
+ links: {
487
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/iT68wKIUEemLnpdcytmIFg',
488
+ html: 'http://notabene.stg.tronclass.com.cn/a/iT68wKIUEemLnpdcytmIFg',
489
+ },
490
+ tags: [],
491
+ text: '\u6d4b\u8bd5 \u56de\u5f52\u6d4b\u8bd5 \ud83d\udc69\u200d\ud83c\udf93',
492
+ enrollment_role: '',
493
+ user: 'acct:wgt1@localhost',
494
+ course_id: null,
495
+ id: 'iT68wKIUEemLnpdcytmIFg',
496
+ permissions: {
497
+ read: ['group:__world__'],
498
+ admin: ['acct:wgt1@localhost'],
499
+ update: ['acct:wgt1@localhost'],
500
+ delete: ['acct:wgt1@localhost'],
501
+ },
502
+ group: '__world__',
503
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
504
+ created: '2019-07-09T06:41:09.695772+00:00',
505
+ user_info: { display_name: 'David Robert Joseph Beckham', user_no: 'wgt1' },
506
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
507
+ source: 'my_resource',
508
+ position: 0,
509
+ hidden: false,
510
+ document: {},
511
+ flagged: false,
512
+ },
513
+ {
514
+ updated: '2019-07-10T03:53:43.015924+00:00',
515
+ links: {
516
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/T18s5KLGEemAvqNQcu3EIA',
517
+ html: 'http://notabene.stg.tronclass.com.cn/a/T18s5KLGEemAvqNQcu3EIA',
518
+ },
519
+ extra: { snapshots: ['26b75b37ef7b28045633e91970527d5f16193092', '49984f8e91c6550a71979c0a29855c73c1b78ba3'] },
520
+ text: 'yanzheng \u9a8c\u8bc1 \u9a8c\u8bc1',
521
+ enrollment_role: '',
522
+ user: 'acct:wgt1@localhost',
523
+ course_id: null,
524
+ id: 'T18s5KLGEemAvqNQcu3EIA',
525
+ permissions: {
526
+ read: ['group:__world__'],
527
+ admin: ['acct:wgt1@localhost'],
528
+ update: ['acct:wgt1@localhost'],
529
+ delete: ['acct:wgt1@localhost'],
530
+ },
531
+ group: '__world__',
532
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
533
+ created: '2019-07-10T03:53:43.015924+00:00',
534
+ user_info: { display_name: 'David Robert Joseph Beckham', user_no: 'wgt1' },
535
+ tags: [],
536
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
537
+ source: 'my_resource',
538
+ position: 7,
539
+ hidden: false,
540
+ document: {},
541
+ flagged: false,
542
+ },
543
+ {
544
+ updated: '2019-07-09T07:48:30.403862+00:00',
545
+ links: {
546
+ json: 'http://notabene.stg.tronclass.com.cn/api/annotations/qU0-fqIUEemjJvv6511VeA',
547
+ html: 'http://notabene.stg.tronclass.com.cn/a/qU0-fqIUEemjJvv6511VeA',
548
+ },
549
+ extra: { snapshots: ['e6263bb88fb0fee35299cd9799ebc4cc288f346a', '12023a9b0ab3d1121a2cbdd97951658df845bf01'] },
550
+ text: '',
551
+ enrollment_role: '',
552
+ user: 'acct:wgt1@localhost',
553
+ course_id: null,
554
+ id: 'qU0-fqIUEemjJvv6511VeA',
555
+ permissions: {
556
+ read: ['group:__world__'],
557
+ admin: ['acct:wgt1@localhost'],
558
+ update: ['acct:wgt1@localhost'],
559
+ delete: ['acct:wgt1@localhost'],
560
+ },
561
+ group: '__world__',
562
+ target: [{ source: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05' }],
563
+ created: '2019-07-09T06:42:03.479201+00:00',
564
+ user_info: { display_name: 'David Robert Joseph Beckham', user_no: 'wgt1' },
565
+ tags: [],
566
+ uri: 'urn:troncast:replay:f66695030c8c41f4b49dd27817052b05',
567
+ source: 'my_resource',
568
+ position: 28,
569
+ hidden: false,
570
+ document: {},
571
+ flagged: false,
572
+ },
573
+ ],
574
+ total: 7,
575
+ };
576
+ const plugins = {
577
+ mediaTopic: {
578
+ toggle: false,
579
+ server: 'http://lrp.qa.tronclass.com.cn',
580
+ },
581
+ // note: {
582
+ // toggle: true,
583
+ // // server: 'http://notabene.uat.tronclass.com.cn:18888',
584
+ // token:
585
+ // 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJVMDAwMyIsImRpc3BsYXlfbmFtZSI6IlNoYXduIiwidXJpIjoidXJuOnRyb25jYXN0OnJlcGxheTo3MDcyOGI0ZDkxYjE0ZGJjYTY4OGY0ZTcyYjI3NzlmNyIsInNlcnZlciI6Imh0dHA6Ly9ub3RhYmVuZS51YXQudHJvbmNsYXNzLmNvbS5jbjoxODg4OCIsInN0b3JhZ2UiOnsidHlwZSI6Ik1FRElBIiwic2VydmVyIjoiaHR0cDovL2xvY2FsaG9zdDo4MDAxIiwic2VjcmV0IjoiaW5zZWN1cmUgc2VjcmV0IGtleSJ9fQ.1zJnhWPcBqKfW7W6GbYYTPKfSDJX5Eb7zf-iLOENTus',
586
+ // permissions: {
587
+ // manage: ['create', 'update', 'delete'],
588
+ // view: ['public', 'myself'],
589
+ // },
590
+ // },
591
+ fav: {
592
+ toggle: false,
593
+ isFav: false,
594
+ },
595
+ download: {
596
+ toggle: true,
597
+ onClick: () => {
598
+ console.log('download click');
599
+ },
600
+ },
601
+ caption: {
602
+ toggle: false,
603
+ captionUrl: '',
604
+ },
605
+ liveCaption: {
606
+ toggle: true,
607
+ },
608
+ clip: {
609
+ toggle: true,
610
+ server: 'http://www.baidu.com',
611
+ },
612
+ playerSwitcher: {
613
+ toggle: false,
614
+ },
615
+ waterMark: {
616
+ toggle: false,
617
+ text: '',
618
+ },
619
+ compositor: {
620
+ toggle: true,
621
+ onClick: () => {
622
+ console.log('compositor click');
623
+ },
624
+ },
625
+ };
626
+ const replayVideos = [
627
+ {
628
+ sources: [
629
+ {
630
+ src: 'https://vjs.zencdn.net/v/oceans.mp4',
631
+ // src:
632
+ // 'https://minio.tronclass.com.cn/outbound/wisdomgarden/ARTS403/20230908/150000-150500-1694160880354/INSTRUCTOR-d2lzZG9tZ2FyZGVuLUFSVFM0MDMtRGV2aWNlTGFiZWwuSU5TVFJVQ1RPUi0xLTE2OTQxNTkzMTAxODM-.mp4?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27INSTRUCTOR-d2lzZG9tZ2FyZGVuLUFSVFM0MDMtRGV2aWNlTGFiZWwuSU5TVFJVQ1RPUi0xLTE2OTQxNTkzMTAxODM-.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=YBQUE8NVWSQGSEZRNDUK%2F20231016%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231016T081119Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=cbe69b3ce042afada1b6a931ff725de0a43d322240aec075c084a1b4c52e4d1a',
633
+ type: 'video/mp4',
634
+ label: '720P',
635
+ },
636
+ {
637
+ src: 'https://vjs.zencdn.net/v/oceans.mp4',
638
+ type: 'video/mp4',
639
+ label: '480P',
640
+ },
641
+ ],
642
+ label: 'instructor',
643
+ volume: 0.5,
644
+ mute: false,
645
+ },
646
+ {
647
+ sources: [
648
+ {
649
+ src: 'https://vjs.zencdn.net/v/oceans.mp4',
650
+ // src:
651
+ // 'https://minio.tronclass.com.cn/outbound/wisdomgarden/ARTS403/20230908/150000-150500-1694160880354/INSTRUCTOR-d2lzZG9tZ2FyZGVuLUFSVFM0MDMtRGV2aWNlTGFiZWwuSU5TVFJVQ1RPUi0xLTE2OTQxNTkzMTAxODM-.mp4?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27INSTRUCTOR-d2lzZG9tZ2FyZGVuLUFSVFM0MDMtRGV2aWNlTGFiZWwuSU5TVFJVQ1RPUi0xLTE2OTQxNTkzMTAxODM-.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=YBQUE8NVWSQGSEZRNDUK%2F20231016%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231016T081119Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=cbe69b3ce042afada1b6a931ff725de0a43d322240aec075c084a1b4c52e4d1a',
652
+ type: 'video/mp4',
653
+ label: '720P',
654
+ },
655
+ {
656
+ src: 'https://vjs.zencdn.net/v/oceans.mp4',
657
+ type: 'video/mp4',
658
+ label: '480P',
659
+ },
660
+ ],
661
+ label: 'encoder',
662
+ volume: 0.5,
663
+ mute: true,
664
+ },
665
+ {
666
+ sources: [
667
+ {
668
+ src: 'https://vjs.zencdn.net/v/oceans.mp4',
669
+ // src:
670
+ // 'https://minio.tronclass.com.cn/outbound/wisdomgarden/ARTS403/20230908/150000-150500-1694160880354/INSTRUCTOR-d2lzZG9tZ2FyZGVuLUFSVFM0MDMtRGV2aWNlTGFiZWwuSU5TVFJVQ1RPUi0xLTE2OTQxNTkzMTAxODM-.mp4?response-content-disposition=attachment%3B%20filename%2A%3DUTF-8%27%27INSTRUCTOR-d2lzZG9tZ2FyZGVuLUFSVFM0MDMtRGV2aWNlTGFiZWwuSU5TVFJVQ1RPUi0xLTE2OTQxNTkzMTAxODM-.mp4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=YBQUE8NVWSQGSEZRNDUK%2F20231016%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231016T081119Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=cbe69b3ce042afada1b6a931ff725de0a43d322240aec075c084a1b4c52e4d1a',
671
+ type: 'video/mp4',
672
+ label: '720P',
673
+ },
674
+ {
675
+ src: 'https://vjs.zencdn.net/v/oceans.mp4',
676
+ type: 'video/mp4',
677
+ label: '480P',
678
+ },
679
+ ],
680
+ label: 'students',
681
+ volume: 0.5,
682
+ mute: true,
683
+ },
684
+ ];
685
+
686
+ const liveVideos = [
687
+ {
688
+ // src: 'https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-720p.flv',
689
+ // type: 'video/x-flv',
690
+ // src: 'http://localhost:8082/live/livestream-1.flv',
691
+ // type: 'video/x-flv',
692
+ // src: 'https://srs.v.ustc.edu.cn/live/ac77e6b986b171421d5d31dac862bf53.m3u8',
693
+ // type: 'application/x-mpegURL',
694
+ src: 'https://cdn.flowplayer.com/a30bd6bc-f98b-47bc-abf5-97633d4faea0/hls/de3f6ca7-2db3-4689-8160-0f574a5996ad/playlist.m3u8',
695
+ type: 'application/x-mpegURL',
696
+ label: 'encoder',
697
+ mute: true,
698
+ volume: 0.5,
699
+ },
700
+ {
701
+ // src: 'https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-720p.flv',
702
+ // type: 'video/x-flv',
703
+ // src: 'http://localhost:8082/live/livestream-2.flv',
704
+ // type: 'video/x-flv',
705
+ // src: 'https://srs.v.ustc.edu.cn/live/0b575768bf99c374e15e2aadbd82dfb1.m3u8',
706
+ // type: 'application/x-mpegURL',
707
+ src: 'https://assets.afcdn.com/video49/20210722/v_645516.m3u8',
708
+ type: 'application/x-mpegURL',
709
+ label: 'instructor',
710
+ mute: false,
711
+ volume: 0.5,
712
+ },
713
+ // {
714
+ // // src: 'https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-720p.flv',
715
+ // // type: 'video/x-flv',
716
+ // // src: 'http://localhost:8082/live/livestream-2.flv',
717
+ // // type: 'video/x-flv',
718
+ // src: 'https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8',
719
+ // type: 'application/x-mpegURL',
720
+ // label: 'students',
721
+ // mute: true,
722
+ // volume: 0,
723
+ // },
724
+ // {
725
+ // // src: 'https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-720p.flv',
726
+ // // type: 'video/x-flv',
727
+ // src: 'http://192.168.11.56:8080/live/instructor.m3u8',
728
+ // type: 'application/x-mpegURL',
729
+ // label: 'students',
730
+ // mute: true,
731
+ // volume: 0,
732
+ // },
733
+ ];
734
+
735
+ export default {
736
+ smartTopics,
737
+ artificialTopics,
738
+ captionUrl,
739
+ notes,
740
+ replayVideos,
741
+ liveVideos,
742
+ plugins,
743
+ };