@volcengine/veplayer 1.6.0 → 1.6.2
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/index.d.ts +64 -79
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -447,62 +447,6 @@ export interface ISubtitleStyle {
|
|
|
447
447
|
*/
|
|
448
448
|
fontColor?: string;
|
|
449
449
|
}
|
|
450
|
-
/**
|
|
451
|
-
* @detail Options
|
|
452
|
-
*
|
|
453
|
-
* @export
|
|
454
|
-
* @interface IListItem
|
|
455
|
-
*/
|
|
456
|
-
export interface IListItem {
|
|
457
|
-
/**
|
|
458
|
-
* 开始时间
|
|
459
|
-
* 默认值:无
|
|
460
|
-
* @type { number}
|
|
461
|
-
* @memberof IListItem
|
|
462
|
-
*/
|
|
463
|
-
start: number;
|
|
464
|
-
/**
|
|
465
|
-
* 结束时间
|
|
466
|
-
* 默认值:无
|
|
467
|
-
* @type { number}
|
|
468
|
-
* @memberof IListItem
|
|
469
|
-
*/
|
|
470
|
-
end: number;
|
|
471
|
-
/**
|
|
472
|
-
* 字幕文案列表
|
|
473
|
-
* 默认值:无
|
|
474
|
-
* @type {Array<Object>}
|
|
475
|
-
* @memberof IListItem
|
|
476
|
-
*/
|
|
477
|
-
list: {
|
|
478
|
-
/**
|
|
479
|
-
* 默认值:无
|
|
480
|
-
* @hidden
|
|
481
|
-
* @type {any}
|
|
482
|
-
*/
|
|
483
|
-
[propName: string]: any;
|
|
484
|
-
/**
|
|
485
|
-
* 开始时间
|
|
486
|
-
* @type {number}
|
|
487
|
-
*/
|
|
488
|
-
start: number;
|
|
489
|
-
/**
|
|
490
|
-
* 结束时间
|
|
491
|
-
* @type {number}
|
|
492
|
-
*/
|
|
493
|
-
end: number;
|
|
494
|
-
/**
|
|
495
|
-
* 字幕文案数组
|
|
496
|
-
* @type {string[]}
|
|
497
|
-
*/
|
|
498
|
-
text: string[];
|
|
499
|
-
/**
|
|
500
|
-
* 字幕顺序
|
|
501
|
-
* @type {number}
|
|
502
|
-
*/
|
|
503
|
-
index?: number;
|
|
504
|
-
}[];
|
|
505
|
-
}
|
|
506
450
|
/**
|
|
507
451
|
* @detail Options
|
|
508
452
|
*
|
|
@@ -559,29 +503,70 @@ export interface ISubTitleItem {
|
|
|
559
503
|
* @type {Array<Object>}
|
|
560
504
|
* @memberof ISubTitleItem
|
|
561
505
|
*/
|
|
562
|
-
list?:
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
506
|
+
list?: IListItem[];
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* @detail Options
|
|
510
|
+
*
|
|
511
|
+
* @export
|
|
512
|
+
* @interface IListItem
|
|
513
|
+
*/
|
|
514
|
+
export interface IListItem {
|
|
515
|
+
/**
|
|
516
|
+
* 开始时间
|
|
517
|
+
* @type {number}
|
|
518
|
+
*/
|
|
519
|
+
start: number;
|
|
520
|
+
/**
|
|
521
|
+
* 结束时间
|
|
522
|
+
* @type {number}
|
|
523
|
+
*/
|
|
524
|
+
end: number;
|
|
525
|
+
/**
|
|
526
|
+
* 字幕数据列表
|
|
527
|
+
* @type {Array<ITextItem>}
|
|
528
|
+
*/
|
|
529
|
+
list: Array<ITextItem>;
|
|
530
|
+
/**
|
|
531
|
+
* 默认值:无
|
|
532
|
+
* @hidden
|
|
533
|
+
* @type {any}
|
|
534
|
+
*/
|
|
535
|
+
[propName: string]: any;
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* @detail Options
|
|
539
|
+
*
|
|
540
|
+
* @export
|
|
541
|
+
* @interface ITextItem
|
|
542
|
+
*/
|
|
543
|
+
export interface ITextItem {
|
|
544
|
+
/**
|
|
545
|
+
* 默认值:无
|
|
546
|
+
* @hidden
|
|
547
|
+
* @type {any}
|
|
548
|
+
*/
|
|
549
|
+
[propName: string]: any;
|
|
550
|
+
/**
|
|
551
|
+
* 开始时间
|
|
552
|
+
* @type {number}
|
|
553
|
+
*/
|
|
554
|
+
start: number;
|
|
555
|
+
/**
|
|
556
|
+
* 结束时间
|
|
557
|
+
* @type {number}
|
|
558
|
+
*/
|
|
559
|
+
end: number;
|
|
560
|
+
/**
|
|
561
|
+
* 字幕文案数组
|
|
562
|
+
* @type {string[]}
|
|
563
|
+
*/
|
|
564
|
+
text: string[];
|
|
565
|
+
/**
|
|
566
|
+
* 字幕顺序
|
|
567
|
+
* @type {number}
|
|
568
|
+
*/
|
|
569
|
+
index?: number;
|
|
585
570
|
}
|
|
586
571
|
/**
|
|
587
572
|
* @detail Options
|