@gcorevideo/player 2.22.16 → 2.22.18
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/assets/clappr-nerd-stats/clappr-nerd-stats.ejs +76 -78
- package/assets/clappr-nerd-stats/clappr-nerd-stats.scss +10 -7
- package/dist/core.js +10 -14
- package/dist/index.css +1441 -1440
- package/dist/index.js +589 -522
- package/dist/player.d.ts +216 -159
- package/dist/plugins/index.css +1204 -1203
- package/dist/plugins/index.js +581 -506
- package/docs/api/player.clapprstats.exportmetrics.md +1 -1
- package/docs/api/player.clapprstats.md +5 -15
- package/docs/api/player.clapprstatssettings.md +13 -0
- package/docs/api/player.clips.destroy.md +18 -0
- package/docs/api/player.clips.disable.md +18 -0
- package/docs/api/player.clips.enable.md +18 -0
- package/docs/api/player.clips.md +170 -0
- package/docs/api/player.clips.render.md +18 -0
- package/docs/api/player.clips.supportedversion.md +16 -0
- package/docs/api/player.clips.version.md +14 -0
- package/docs/api/player.clipspluginsettings.md +2 -2
- package/docs/api/player.clipspluginsettings.text.md +1 -1
- package/docs/api/player.md +27 -18
- package/docs/api/player.mediacontrol.md +1 -1
- package/docs/api/{player.mediacontrol.getelement.md → player.mediacontrol.mount.md} +20 -7
- package/docs/api/player.mediacontrolleftelement.md +1 -1
- package/docs/api/{player.clapprnerdstats._constructor_.md → player.nerdstats._constructor_.md} +3 -3
- package/docs/api/{player.clapprnerdstats.md → player.nerdstats.md} +5 -5
- package/docs/api/player.qualitylevel.height.md +1 -1
- package/docs/api/player.qualitylevel.level.md +1 -1
- package/docs/api/player.qualitylevel.md +4 -4
- package/docs/api/player.qualitylevel.width.md +1 -1
- package/docs/api/player.timeposition.current.md +1 -1
- package/docs/api/player.timeposition.md +2 -2
- package/docs/api/player.timeposition.total.md +1 -1
- package/docs/api/player.timeprogress.md +6 -4
- package/docs/api/player.timevalue.md +1 -1
- package/lib/index.plugins.d.ts +2 -1
- package/lib/index.plugins.d.ts.map +1 -1
- package/lib/index.plugins.js +2 -1
- package/lib/playback/dash-playback/DashPlayback.d.ts +0 -1
- package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
- package/lib/playback/dash-playback/DashPlayback.js +9 -12
- package/lib/playback/hls-playback/HlsPlayback.d.ts +1 -1
- package/lib/playback/hls-playback/HlsPlayback.d.ts.map +1 -1
- package/lib/playback/hls-playback/HlsPlayback.js +0 -1
- package/lib/playback.types.d.ts +24 -12
- package/lib/playback.types.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +4 -0
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +20 -23
- package/lib/plugins/clappr-nerd-stats/NerdStats.d.ts +86 -0
- package/lib/plugins/clappr-nerd-stats/NerdStats.d.ts.map +1 -0
- package/lib/plugins/clappr-nerd-stats/NerdStats.js +390 -0
- package/lib/plugins/clappr-nerd-stats/formatter.d.ts +5 -0
- package/lib/plugins/clappr-nerd-stats/formatter.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/formatter.js +56 -24
- package/lib/plugins/clappr-nerd-stats/speedtest/index.d.ts +2 -2
- package/lib/plugins/clappr-nerd-stats/speedtest/index.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/speedtest/types.d.ts +1 -1
- package/lib/plugins/clappr-nerd-stats/speedtest/types.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/types.d.ts +3 -0
- package/lib/plugins/clappr-nerd-stats/types.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/utils.d.ts +7 -0
- package/lib/plugins/clappr-nerd-stats/utils.d.ts.map +1 -0
- package/lib/plugins/clappr-nerd-stats/utils.js +67 -0
- package/lib/plugins/clappr-stats/ClapprStats.d.ts +27 -32
- package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
- package/lib/plugins/clappr-stats/ClapprStats.js +94 -202
- package/lib/plugins/clappr-stats/types.d.ts +65 -25
- package/lib/plugins/clappr-stats/types.d.ts.map +1 -1
- package/lib/plugins/clappr-stats/types.js +37 -2
- package/lib/plugins/clappr-stats/utils.d.ts +1 -1
- package/lib/plugins/clappr-stats/utils.d.ts.map +1 -1
- package/lib/plugins/clappr-stats/utils.js +1 -3
- package/lib/plugins/seek-time/SeekTime.d.ts +1 -1
- package/lib/plugins/seek-time/SeekTime.d.ts.map +1 -1
- package/lib/plugins/seek-time/SeekTime.js +3 -4
- package/lib/testUtils.d.ts +2 -1
- package/lib/testUtils.d.ts.map +1 -1
- package/lib/testUtils.js +3 -2
- package/package.json +1 -1
- package/src/index.plugins.ts +2 -1
- package/src/playback/dash-playback/DashPlayback.ts +10 -15
- package/src/playback/hls-playback/HlsPlayback.ts +2 -4
- package/src/playback.types.ts +25 -11
- package/src/plugins/clappr-nerd-stats/NerdStats.ts +503 -0
- package/src/plugins/clappr-nerd-stats/formatter.ts +91 -47
- package/src/plugins/clappr-nerd-stats/speedtest/index.ts +2 -2
- package/src/plugins/clappr-nerd-stats/speedtest/types.ts +1 -1
- package/src/plugins/clappr-nerd-stats/types.ts +43 -3
- package/src/plugins/clappr-nerd-stats/utils.ts +75 -0
- package/src/plugins/clappr-stats/ClapprStats.ts +242 -306
- package/src/plugins/clappr-stats/__tests__/ClapprStats.test.ts +133 -0
- package/src/plugins/clappr-stats/types.ts +93 -47
- package/src/plugins/clappr-stats/utils.ts +4 -6
- package/src/plugins/error-screen/__tests__/ErrorScreen.test.ts +3 -4
- package/src/plugins/seek-time/SeekTime.ts +4 -5
- package/src/plugins/subtitles/__tests__/ClosedCaptions.test.ts +1 -0
- package/src/testUtils.ts +3 -2
- package/temp/player.api.json +311 -159
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.clapprstats.setupdatemetrics.md +0 -56
- package/docs/api/player.clipsplugin.gettext.md +0 -58
- package/docs/api/player.clipsplugin.md +0 -59
- package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +0 -435
package/temp/player.api.json
CHANGED
|
@@ -363,75 +363,10 @@
|
|
|
363
363
|
},
|
|
364
364
|
"implementsTokenRanges": []
|
|
365
365
|
},
|
|
366
|
-
{
|
|
367
|
-
"kind": "Class",
|
|
368
|
-
"canonicalReference": "@gcorevideo/player!ClapprNerdStats:class",
|
|
369
|
-
"docComment": "/**\n * `PLUGIN` that displays useful network-related statistics.\n *\n * @remarks\n *\n * Depends on:\n *\n * - {@link BottomGear}\n *\n * - {@link ClapprStats}\n *\n * The plugin is rendered as an item in the gear menu.\n *\n * When clicked, it shows an overlay window with the information about the network speed, latency, etc, and recommended quality level.\n *\n * @beta\n */\n",
|
|
370
|
-
"excerptTokens": [
|
|
371
|
-
{
|
|
372
|
-
"kind": "Content",
|
|
373
|
-
"text": "export declare class ClapprNerdStats extends "
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"kind": "Reference",
|
|
377
|
-
"text": "UICorePlugin",
|
|
378
|
-
"canonicalReference": "@gcorevideo/player!~UICorePlugin"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"kind": "Content",
|
|
382
|
-
"text": " "
|
|
383
|
-
}
|
|
384
|
-
],
|
|
385
|
-
"fileUrlPath": "src/plugins/clappr-nerd-stats/ClapprNerdStats.ts",
|
|
386
|
-
"releaseTag": "Beta",
|
|
387
|
-
"isAbstract": false,
|
|
388
|
-
"name": "ClapprNerdStats",
|
|
389
|
-
"preserveMemberOrder": false,
|
|
390
|
-
"members": [
|
|
391
|
-
{
|
|
392
|
-
"kind": "Constructor",
|
|
393
|
-
"canonicalReference": "@gcorevideo/player!ClapprNerdStats:constructor(1)",
|
|
394
|
-
"docComment": "/**\n * Constructs a new instance of the `ClapprNerdStats` class\n */\n",
|
|
395
|
-
"excerptTokens": [
|
|
396
|
-
{
|
|
397
|
-
"kind": "Content",
|
|
398
|
-
"text": "constructor(core: "
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"kind": "Reference",
|
|
402
|
-
"text": "Core",
|
|
403
|
-
"canonicalReference": "@clappr/core!default:class"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"kind": "Content",
|
|
407
|
-
"text": ");"
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
"releaseTag": "Beta",
|
|
411
|
-
"isProtected": false,
|
|
412
|
-
"overloadIndex": 1,
|
|
413
|
-
"parameters": [
|
|
414
|
-
{
|
|
415
|
-
"parameterName": "core",
|
|
416
|
-
"parameterTypeTokenRange": {
|
|
417
|
-
"startIndex": 1,
|
|
418
|
-
"endIndex": 2
|
|
419
|
-
},
|
|
420
|
-
"isOptional": false
|
|
421
|
-
}
|
|
422
|
-
]
|
|
423
|
-
}
|
|
424
|
-
],
|
|
425
|
-
"extendsTokenRange": {
|
|
426
|
-
"startIndex": 1,
|
|
427
|
-
"endIndex": 2
|
|
428
|
-
},
|
|
429
|
-
"implementsTokenRanges": []
|
|
430
|
-
},
|
|
431
366
|
{
|
|
432
367
|
"kind": "Class",
|
|
433
368
|
"canonicalReference": "@gcorevideo/player!ClapprStats:class",
|
|
434
|
-
"docComment": "/**\n * `PLUGIN` that
|
|
369
|
+
"docComment": "/**\n * `PLUGIN` that measures data about playback, which can be useful for analyzing performance and UX.\n *\n * @remarks\n *\n * This plugin does not render anything and is supposed to be extended or used together with other plugins that actually render something.\n *\n * Configuration options - {@link ClapprStatsSettings}\n *\n * Events - {@link ClapprStatsEvents}\n *\n * @beta\n */\n",
|
|
435
370
|
"excerptTokens": [
|
|
436
371
|
{
|
|
437
372
|
"kind": "Content",
|
|
@@ -489,7 +424,7 @@
|
|
|
489
424
|
{
|
|
490
425
|
"kind": "Method",
|
|
491
426
|
"canonicalReference": "@gcorevideo/player!ClapprStats#exportMetrics:member(1)",
|
|
492
|
-
"docComment": "/**\n * Returns the collected metrics.\n *\n * @returns
|
|
427
|
+
"docComment": "/**\n * Returns the collected metrics.\n *\n * @returns Measurements collected so far\n */\n",
|
|
493
428
|
"excerptTokens": [
|
|
494
429
|
{
|
|
495
430
|
"kind": "Content",
|
|
@@ -517,55 +452,6 @@
|
|
|
517
452
|
"isOptional": false,
|
|
518
453
|
"isAbstract": false,
|
|
519
454
|
"name": "exportMetrics"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"kind": "Method",
|
|
523
|
-
"canonicalReference": "@gcorevideo/player!ClapprStats#setUpdateMetrics:member(1)",
|
|
524
|
-
"docComment": "/**\n * Registers a callback to receive the metrics.\n *\n * @param updateMetricsFn - The callback to receive the metrics\n */\n",
|
|
525
|
-
"excerptTokens": [
|
|
526
|
-
{
|
|
527
|
-
"kind": "Content",
|
|
528
|
-
"text": "setUpdateMetrics(updateMetricsFn: "
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"kind": "Reference",
|
|
532
|
-
"text": "MetricsUpdateFn",
|
|
533
|
-
"canonicalReference": "@gcorevideo/player!~MetricsUpdateFn:type"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"kind": "Content",
|
|
537
|
-
"text": "): "
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"kind": "Content",
|
|
541
|
-
"text": "void"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"kind": "Content",
|
|
545
|
-
"text": ";"
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
"isStatic": false,
|
|
549
|
-
"returnTypeTokenRange": {
|
|
550
|
-
"startIndex": 3,
|
|
551
|
-
"endIndex": 4
|
|
552
|
-
},
|
|
553
|
-
"releaseTag": "Beta",
|
|
554
|
-
"isProtected": false,
|
|
555
|
-
"overloadIndex": 1,
|
|
556
|
-
"parameters": [
|
|
557
|
-
{
|
|
558
|
-
"parameterName": "updateMetricsFn",
|
|
559
|
-
"parameterTypeTokenRange": {
|
|
560
|
-
"startIndex": 1,
|
|
561
|
-
"endIndex": 2
|
|
562
|
-
},
|
|
563
|
-
"isOptional": false
|
|
564
|
-
}
|
|
565
|
-
],
|
|
566
|
-
"isOptional": false,
|
|
567
|
-
"isAbstract": false,
|
|
568
|
-
"name": "setUpdateMetrics"
|
|
569
455
|
}
|
|
570
456
|
],
|
|
571
457
|
"extendsTokenRange": {
|
|
@@ -574,6 +460,32 @@
|
|
|
574
460
|
},
|
|
575
461
|
"implementsTokenRanges": []
|
|
576
462
|
},
|
|
463
|
+
{
|
|
464
|
+
"kind": "TypeAlias",
|
|
465
|
+
"canonicalReference": "@gcorevideo/player!ClapprStatsSettings:type",
|
|
466
|
+
"docComment": "",
|
|
467
|
+
"excerptTokens": [
|
|
468
|
+
{
|
|
469
|
+
"kind": "Content",
|
|
470
|
+
"text": "export type ClapprStatsSettings = "
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"kind": "Content",
|
|
474
|
+
"text": "{\n runEach?: number;\n}"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"kind": "Content",
|
|
478
|
+
"text": ";"
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"fileUrlPath": "src/plugins/clappr-stats/ClapprStats.ts",
|
|
482
|
+
"releaseTag": "Public",
|
|
483
|
+
"name": "ClapprStatsSettings",
|
|
484
|
+
"typeTokenRange": {
|
|
485
|
+
"startIndex": 1,
|
|
486
|
+
"endIndex": 2
|
|
487
|
+
}
|
|
488
|
+
},
|
|
577
489
|
{
|
|
578
490
|
"kind": "Class",
|
|
579
491
|
"canonicalReference": "@gcorevideo/player!ClickToPause:class",
|
|
@@ -607,12 +519,12 @@
|
|
|
607
519
|
},
|
|
608
520
|
{
|
|
609
521
|
"kind": "Class",
|
|
610
|
-
"canonicalReference": "@gcorevideo/player!
|
|
611
|
-
"docComment": "/**\n * `PLUGIN` that
|
|
522
|
+
"canonicalReference": "@gcorevideo/player!Clips:class",
|
|
523
|
+
"docComment": "/**\n * `PLUGIN` that allows marking up the timeline of the video\n *\n * @remarks\n *\n * The plugin decorates the seekbar with notches to indicate the clips of the video and displays current clip text in the left panel\n *\n * Depends on:\n *\n * - {@link MediaControl}\n *\n * Configuration options - {@link ClipsPluginSettings}\n *\n * @beta\n */\n",
|
|
612
524
|
"excerptTokens": [
|
|
613
525
|
{
|
|
614
526
|
"kind": "Content",
|
|
615
|
-
"text": "export declare class
|
|
527
|
+
"text": "export declare class Clips extends "
|
|
616
528
|
},
|
|
617
529
|
{
|
|
618
530
|
"kind": "Reference",
|
|
@@ -627,29 +539,57 @@
|
|
|
627
539
|
"fileUrlPath": "src/plugins/clips/Clips.ts",
|
|
628
540
|
"releaseTag": "Beta",
|
|
629
541
|
"isAbstract": false,
|
|
630
|
-
"name": "
|
|
542
|
+
"name": "Clips",
|
|
631
543
|
"preserveMemberOrder": false,
|
|
632
544
|
"members": [
|
|
633
545
|
{
|
|
634
546
|
"kind": "Method",
|
|
635
|
-
"canonicalReference": "@gcorevideo/player!
|
|
636
|
-
"docComment": "
|
|
547
|
+
"canonicalReference": "@gcorevideo/player!Clips#destroy:member(1)",
|
|
548
|
+
"docComment": "",
|
|
637
549
|
"excerptTokens": [
|
|
638
550
|
{
|
|
639
551
|
"kind": "Content",
|
|
640
|
-
"text": "
|
|
552
|
+
"text": "destroy(): "
|
|
641
553
|
},
|
|
642
554
|
{
|
|
643
555
|
"kind": "Content",
|
|
644
|
-
"text": "
|
|
556
|
+
"text": "import(\"@clappr/core\")."
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "Reference",
|
|
560
|
+
"text": "UIObject",
|
|
561
|
+
"canonicalReference": "@clappr/core!default:class"
|
|
645
562
|
},
|
|
646
563
|
{
|
|
647
564
|
"kind": "Content",
|
|
648
|
-
"text": "
|
|
565
|
+
"text": ";"
|
|
566
|
+
}
|
|
567
|
+
],
|
|
568
|
+
"isStatic": false,
|
|
569
|
+
"returnTypeTokenRange": {
|
|
570
|
+
"startIndex": 1,
|
|
571
|
+
"endIndex": 3
|
|
572
|
+
},
|
|
573
|
+
"releaseTag": "Beta",
|
|
574
|
+
"isProtected": false,
|
|
575
|
+
"overloadIndex": 1,
|
|
576
|
+
"parameters": [],
|
|
577
|
+
"isOptional": false,
|
|
578
|
+
"isAbstract": false,
|
|
579
|
+
"name": "destroy"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"kind": "Method",
|
|
583
|
+
"canonicalReference": "@gcorevideo/player!Clips#disable:member(1)",
|
|
584
|
+
"docComment": "",
|
|
585
|
+
"excerptTokens": [
|
|
586
|
+
{
|
|
587
|
+
"kind": "Content",
|
|
588
|
+
"text": "disable(): "
|
|
649
589
|
},
|
|
650
590
|
{
|
|
651
591
|
"kind": "Content",
|
|
652
|
-
"text": "
|
|
592
|
+
"text": "void"
|
|
653
593
|
},
|
|
654
594
|
{
|
|
655
595
|
"kind": "Content",
|
|
@@ -658,25 +598,138 @@
|
|
|
658
598
|
],
|
|
659
599
|
"isStatic": false,
|
|
660
600
|
"returnTypeTokenRange": {
|
|
661
|
-
"startIndex":
|
|
662
|
-
"endIndex":
|
|
601
|
+
"startIndex": 1,
|
|
602
|
+
"endIndex": 2
|
|
663
603
|
},
|
|
664
604
|
"releaseTag": "Beta",
|
|
665
605
|
"isProtected": false,
|
|
666
606
|
"overloadIndex": 1,
|
|
667
|
-
"parameters": [
|
|
607
|
+
"parameters": [],
|
|
608
|
+
"isOptional": false,
|
|
609
|
+
"isAbstract": false,
|
|
610
|
+
"name": "disable"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"kind": "Method",
|
|
614
|
+
"canonicalReference": "@gcorevideo/player!Clips#enable:member(1)",
|
|
615
|
+
"docComment": "",
|
|
616
|
+
"excerptTokens": [
|
|
668
617
|
{
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
"
|
|
618
|
+
"kind": "Content",
|
|
619
|
+
"text": "enable(): "
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"kind": "Content",
|
|
623
|
+
"text": "void"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"kind": "Content",
|
|
627
|
+
"text": ";"
|
|
675
628
|
}
|
|
676
629
|
],
|
|
630
|
+
"isStatic": false,
|
|
631
|
+
"returnTypeTokenRange": {
|
|
632
|
+
"startIndex": 1,
|
|
633
|
+
"endIndex": 2
|
|
634
|
+
},
|
|
635
|
+
"releaseTag": "Beta",
|
|
636
|
+
"isProtected": false,
|
|
637
|
+
"overloadIndex": 1,
|
|
638
|
+
"parameters": [],
|
|
639
|
+
"isOptional": false,
|
|
640
|
+
"isAbstract": false,
|
|
641
|
+
"name": "enable"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"kind": "Method",
|
|
645
|
+
"canonicalReference": "@gcorevideo/player!Clips#render:member(1)",
|
|
646
|
+
"docComment": "",
|
|
647
|
+
"excerptTokens": [
|
|
648
|
+
{
|
|
649
|
+
"kind": "Content",
|
|
650
|
+
"text": "render(): "
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"kind": "Content",
|
|
654
|
+
"text": "this"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"kind": "Content",
|
|
658
|
+
"text": ";"
|
|
659
|
+
}
|
|
660
|
+
],
|
|
661
|
+
"isStatic": false,
|
|
662
|
+
"returnTypeTokenRange": {
|
|
663
|
+
"startIndex": 1,
|
|
664
|
+
"endIndex": 2
|
|
665
|
+
},
|
|
666
|
+
"releaseTag": "Beta",
|
|
667
|
+
"isProtected": false,
|
|
668
|
+
"overloadIndex": 1,
|
|
669
|
+
"parameters": [],
|
|
677
670
|
"isOptional": false,
|
|
678
671
|
"isAbstract": false,
|
|
679
|
-
"name": "
|
|
672
|
+
"name": "render"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"kind": "Property",
|
|
676
|
+
"canonicalReference": "@gcorevideo/player!Clips#supportedVersion:member",
|
|
677
|
+
"docComment": "",
|
|
678
|
+
"excerptTokens": [
|
|
679
|
+
{
|
|
680
|
+
"kind": "Content",
|
|
681
|
+
"text": "get supportedVersion(): "
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"kind": "Content",
|
|
685
|
+
"text": "{\n min: string;\n }"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"kind": "Content",
|
|
689
|
+
"text": ";"
|
|
690
|
+
}
|
|
691
|
+
],
|
|
692
|
+
"isReadonly": true,
|
|
693
|
+
"isOptional": false,
|
|
694
|
+
"releaseTag": "Beta",
|
|
695
|
+
"name": "supportedVersion",
|
|
696
|
+
"propertyTypeTokenRange": {
|
|
697
|
+
"startIndex": 1,
|
|
698
|
+
"endIndex": 2
|
|
699
|
+
},
|
|
700
|
+
"isStatic": false,
|
|
701
|
+
"isProtected": false,
|
|
702
|
+
"isAbstract": false
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"kind": "Property",
|
|
706
|
+
"canonicalReference": "@gcorevideo/player!Clips#version:member",
|
|
707
|
+
"docComment": "",
|
|
708
|
+
"excerptTokens": [
|
|
709
|
+
{
|
|
710
|
+
"kind": "Content",
|
|
711
|
+
"text": "get version(): "
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"kind": "Content",
|
|
715
|
+
"text": "string"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"kind": "Content",
|
|
719
|
+
"text": ";"
|
|
720
|
+
}
|
|
721
|
+
],
|
|
722
|
+
"isReadonly": true,
|
|
723
|
+
"isOptional": false,
|
|
724
|
+
"releaseTag": "Beta",
|
|
725
|
+
"name": "version",
|
|
726
|
+
"propertyTypeTokenRange": {
|
|
727
|
+
"startIndex": 1,
|
|
728
|
+
"endIndex": 2
|
|
729
|
+
},
|
|
730
|
+
"isStatic": false,
|
|
731
|
+
"isProtected": false,
|
|
732
|
+
"isAbstract": false
|
|
680
733
|
}
|
|
681
734
|
],
|
|
682
735
|
"extendsTokenRange": {
|
|
@@ -688,7 +741,7 @@
|
|
|
688
741
|
{
|
|
689
742
|
"kind": "Interface",
|
|
690
743
|
"canonicalReference": "@gcorevideo/player!ClipsPluginSettings:interface",
|
|
691
|
-
"docComment": "/**\n * Configuration options for the {@link ClipsPlugin
|
|
744
|
+
"docComment": "/**\n * Configuration options for the {@link ClipsPlugin} plugin.\n *\n * @beta\n */\n",
|
|
692
745
|
"excerptTokens": [
|
|
693
746
|
{
|
|
694
747
|
"kind": "Content",
|
|
@@ -703,7 +756,7 @@
|
|
|
703
756
|
{
|
|
704
757
|
"kind": "PropertySignature",
|
|
705
758
|
"canonicalReference": "@gcorevideo/player!ClipsPluginSettings#text:member",
|
|
706
|
-
"docComment": "/**\n * The text
|
|
759
|
+
"docComment": "/**\n * The compiled text of the clips description, one clip per line in format : `HH:MM:SS text` or `MM:SS text` or `SS text`\n */\n",
|
|
707
760
|
"excerptTokens": [
|
|
708
761
|
{
|
|
709
762
|
"kind": "Content",
|
|
@@ -2600,12 +2653,12 @@
|
|
|
2600
2653
|
},
|
|
2601
2654
|
{
|
|
2602
2655
|
"kind": "Method",
|
|
2603
|
-
"canonicalReference": "@gcorevideo/player!MediaControl#
|
|
2604
|
-
"docComment": "/**\n * Get a media control element DOM node\n *\n * @remarks\n *\n * Use this method to render custom media control UI in a plugin\n *\n * @deprecated\n *\n * Use {@link MediaControl.putElement} instead\n *\n * @param name - The name of the media control element\n *\n * @returns The DOM node to render to or extend\n *\n * @example\n * ```ts\n * class MyPlugin extends UICorePlugin {\n * override render() {\n *
|
|
2656
|
+
"canonicalReference": "@gcorevideo/player!MediaControl#mount:member(1)",
|
|
2657
|
+
"docComment": "/**\n * Get a media control element DOM node\n *\n * @remarks\n *\n * Use this method to render custom media control UI in a plugin\n *\n * @deprecated\n *\n * Use {@link MediaControl.putElement} instead\n *\n * @param name - The name of the media control element\n *\n * @returns The DOM node to render to or extend\n *\n * @example\n * ```ts\n * class MyPlugin extends UICorePlugin {\n * override render() {\n * this.$el.html('<div data-clips>Here we go</div>')\n * this.core.getPlugin('media_control').mount('clips', this.$el)\n * return this\n * }\n * }\n * ```\n *\n */\n",
|
|
2605
2658
|
"excerptTokens": [
|
|
2606
2659
|
{
|
|
2607
2660
|
"kind": "Content",
|
|
2608
|
-
"text": "
|
|
2661
|
+
"text": "mount(name: "
|
|
2609
2662
|
},
|
|
2610
2663
|
{
|
|
2611
2664
|
"kind": "Reference",
|
|
@@ -2614,7 +2667,7 @@
|
|
|
2614
2667
|
},
|
|
2615
2668
|
{
|
|
2616
2669
|
"kind": "Content",
|
|
2617
|
-
"text": "
|
|
2670
|
+
"text": ", element: "
|
|
2618
2671
|
},
|
|
2619
2672
|
{
|
|
2620
2673
|
"kind": "Reference",
|
|
@@ -2623,7 +2676,11 @@
|
|
|
2623
2676
|
},
|
|
2624
2677
|
{
|
|
2625
2678
|
"kind": "Content",
|
|
2626
|
-
"text": "
|
|
2679
|
+
"text": "): "
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"kind": "Content",
|
|
2683
|
+
"text": "void"
|
|
2627
2684
|
},
|
|
2628
2685
|
{
|
|
2629
2686
|
"kind": "Content",
|
|
@@ -2632,8 +2689,8 @@
|
|
|
2632
2689
|
],
|
|
2633
2690
|
"isStatic": false,
|
|
2634
2691
|
"returnTypeTokenRange": {
|
|
2635
|
-
"startIndex":
|
|
2636
|
-
"endIndex":
|
|
2692
|
+
"startIndex": 5,
|
|
2693
|
+
"endIndex": 6
|
|
2637
2694
|
},
|
|
2638
2695
|
"releaseTag": "Beta",
|
|
2639
2696
|
"isProtected": false,
|
|
@@ -2646,11 +2703,19 @@
|
|
|
2646
2703
|
"endIndex": 2
|
|
2647
2704
|
},
|
|
2648
2705
|
"isOptional": false
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"parameterName": "element",
|
|
2709
|
+
"parameterTypeTokenRange": {
|
|
2710
|
+
"startIndex": 3,
|
|
2711
|
+
"endIndex": 4
|
|
2712
|
+
},
|
|
2713
|
+
"isOptional": false
|
|
2649
2714
|
}
|
|
2650
2715
|
],
|
|
2651
2716
|
"isOptional": false,
|
|
2652
2717
|
"isAbstract": false,
|
|
2653
|
-
"name": "
|
|
2718
|
+
"name": "mount"
|
|
2654
2719
|
},
|
|
2655
2720
|
{
|
|
2656
2721
|
"kind": "Property",
|
|
@@ -3027,7 +3092,7 @@
|
|
|
3027
3092
|
},
|
|
3028
3093
|
{
|
|
3029
3094
|
"kind": "Content",
|
|
3030
|
-
"text": "'clipText' | 'duration' | 'dvr' | 'playpause' | 'playstop' | 'position' | 'volume'"
|
|
3095
|
+
"text": "'clipText' | 'duration' | 'dvr' | 'playpause' | 'playstop' | 'position' | 'volume' | 'clips'"
|
|
3031
3096
|
},
|
|
3032
3097
|
{
|
|
3033
3098
|
"kind": "Content",
|
|
@@ -3549,6 +3614,71 @@
|
|
|
3549
3614
|
},
|
|
3550
3615
|
"implementsTokenRanges": []
|
|
3551
3616
|
},
|
|
3617
|
+
{
|
|
3618
|
+
"kind": "Class",
|
|
3619
|
+
"canonicalReference": "@gcorevideo/player!NerdStats:class",
|
|
3620
|
+
"docComment": "/**\n * `PLUGIN` that displays useful network-related statistics.\n *\n * @remarks\n *\n * Depends on:\n *\n * - {@link BottomGear}\n *\n * - {@link ClapprStats}\n *\n * The plugin is rendered as an item in the gear menu.\n *\n * When clicked, it shows an overlay window with the information about the network speed, latency, etc, and recommended quality level.\n *\n * @beta\n */\n",
|
|
3621
|
+
"excerptTokens": [
|
|
3622
|
+
{
|
|
3623
|
+
"kind": "Content",
|
|
3624
|
+
"text": "export declare class NerdStats extends "
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
"kind": "Reference",
|
|
3628
|
+
"text": "UICorePlugin",
|
|
3629
|
+
"canonicalReference": "@gcorevideo/player!~UICorePlugin"
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"kind": "Content",
|
|
3633
|
+
"text": " "
|
|
3634
|
+
}
|
|
3635
|
+
],
|
|
3636
|
+
"fileUrlPath": "src/plugins/clappr-nerd-stats/NerdStats.ts",
|
|
3637
|
+
"releaseTag": "Beta",
|
|
3638
|
+
"isAbstract": false,
|
|
3639
|
+
"name": "NerdStats",
|
|
3640
|
+
"preserveMemberOrder": false,
|
|
3641
|
+
"members": [
|
|
3642
|
+
{
|
|
3643
|
+
"kind": "Constructor",
|
|
3644
|
+
"canonicalReference": "@gcorevideo/player!NerdStats:constructor(1)",
|
|
3645
|
+
"docComment": "/**\n * Constructs a new instance of the `NerdStats` class\n */\n",
|
|
3646
|
+
"excerptTokens": [
|
|
3647
|
+
{
|
|
3648
|
+
"kind": "Content",
|
|
3649
|
+
"text": "constructor(core: "
|
|
3650
|
+
},
|
|
3651
|
+
{
|
|
3652
|
+
"kind": "Reference",
|
|
3653
|
+
"text": "Core",
|
|
3654
|
+
"canonicalReference": "@clappr/core!default:class"
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"kind": "Content",
|
|
3658
|
+
"text": ");"
|
|
3659
|
+
}
|
|
3660
|
+
],
|
|
3661
|
+
"releaseTag": "Beta",
|
|
3662
|
+
"isProtected": false,
|
|
3663
|
+
"overloadIndex": 1,
|
|
3664
|
+
"parameters": [
|
|
3665
|
+
{
|
|
3666
|
+
"parameterName": "core",
|
|
3667
|
+
"parameterTypeTokenRange": {
|
|
3668
|
+
"startIndex": 1,
|
|
3669
|
+
"endIndex": 2
|
|
3670
|
+
},
|
|
3671
|
+
"isOptional": false
|
|
3672
|
+
}
|
|
3673
|
+
]
|
|
3674
|
+
}
|
|
3675
|
+
],
|
|
3676
|
+
"extendsTokenRange": {
|
|
3677
|
+
"startIndex": 1,
|
|
3678
|
+
"endIndex": 2
|
|
3679
|
+
},
|
|
3680
|
+
"implementsTokenRanges": []
|
|
3681
|
+
},
|
|
3552
3682
|
{
|
|
3553
3683
|
"kind": "Class",
|
|
3554
3684
|
"canonicalReference": "@gcorevideo/player!PictureInPicture:class",
|
|
@@ -6155,7 +6285,7 @@
|
|
|
6155
6285
|
{
|
|
6156
6286
|
"kind": "Interface",
|
|
6157
6287
|
"canonicalReference": "@gcorevideo/player!QualityLevel:interface",
|
|
6158
|
-
"docComment": "/**\n * A level of quality within a media source.\n *\n * @public\n */\n",
|
|
6288
|
+
"docComment": "/**\n * A level of quality within a media source/representation.\n *\n * @public\n */\n",
|
|
6159
6289
|
"excerptTokens": [
|
|
6160
6290
|
{
|
|
6161
6291
|
"kind": "Content",
|
|
@@ -6197,7 +6327,7 @@
|
|
|
6197
6327
|
{
|
|
6198
6328
|
"kind": "PropertySignature",
|
|
6199
6329
|
"canonicalReference": "@gcorevideo/player!QualityLevel#height:member",
|
|
6200
|
-
"docComment": "/**\n * Height of the video, pixels.\n */\n",
|
|
6330
|
+
"docComment": "/**\n * Height of the video frame, pixels.\n */\n",
|
|
6201
6331
|
"excerptTokens": [
|
|
6202
6332
|
{
|
|
6203
6333
|
"kind": "Content",
|
|
@@ -6224,7 +6354,7 @@
|
|
|
6224
6354
|
{
|
|
6225
6355
|
"kind": "PropertySignature",
|
|
6226
6356
|
"canonicalReference": "@gcorevideo/player!QualityLevel#level:member",
|
|
6227
|
-
"docComment": "/**\n * Zero-based index of the quality level
|
|
6357
|
+
"docComment": "/**\n * Zero-based index of the quality level. Quality levels go from low to high\n */\n",
|
|
6228
6358
|
"excerptTokens": [
|
|
6229
6359
|
{
|
|
6230
6360
|
"kind": "Content",
|
|
@@ -6251,7 +6381,7 @@
|
|
|
6251
6381
|
{
|
|
6252
6382
|
"kind": "PropertySignature",
|
|
6253
6383
|
"canonicalReference": "@gcorevideo/player!QualityLevel#width:member",
|
|
6254
|
-
"docComment": "/**\n * Width of the video, pixels.\n */\n",
|
|
6384
|
+
"docComment": "/**\n * Width of the video frame, pixels.\n */\n",
|
|
6255
6385
|
"excerptTokens": [
|
|
6256
6386
|
{
|
|
6257
6387
|
"kind": "Content",
|
|
@@ -8754,7 +8884,7 @@
|
|
|
8754
8884
|
{
|
|
8755
8885
|
"kind": "PropertySignature",
|
|
8756
8886
|
"canonicalReference": "@gcorevideo/player!TimePosition#current:member",
|
|
8757
|
-
"docComment": "/**\n * Current playback time, 0..duration
|
|
8887
|
+
"docComment": "/**\n * Current playback time, 0..duration\n */\n",
|
|
8758
8888
|
"excerptTokens": [
|
|
8759
8889
|
{
|
|
8760
8890
|
"kind": "Content",
|
|
@@ -8782,7 +8912,7 @@
|
|
|
8782
8912
|
{
|
|
8783
8913
|
"kind": "PropertySignature",
|
|
8784
8914
|
"canonicalReference": "@gcorevideo/player!TimePosition#total:member",
|
|
8785
|
-
"docComment": "/**\n * Total duration of the media
|
|
8915
|
+
"docComment": "/**\n * Total duration of the media content (or DVR window size or segment duration for live streams)\n */\n",
|
|
8786
8916
|
"excerptTokens": [
|
|
8787
8917
|
{
|
|
8788
8918
|
"kind": "Content",
|
|
@@ -8813,20 +8943,42 @@
|
|
|
8813
8943
|
{
|
|
8814
8944
|
"kind": "TypeAlias",
|
|
8815
8945
|
"canonicalReference": "@gcorevideo/player!TimeProgress:type",
|
|
8816
|
-
"docComment": "/**\n *
|
|
8946
|
+
"docComment": "/**\n * Time progress information indicated by Clappr CONTAINER_PROGRESS and PLAYBACK_PROGRESS events.\n *\n * @beta\n */\n",
|
|
8817
8947
|
"excerptTokens": [
|
|
8818
8948
|
{
|
|
8819
8949
|
"kind": "Content",
|
|
8820
8950
|
"text": "export type TimeProgress = "
|
|
8821
8951
|
},
|
|
8952
|
+
{
|
|
8953
|
+
"kind": "Content",
|
|
8954
|
+
"text": "{\n start: "
|
|
8955
|
+
},
|
|
8822
8956
|
{
|
|
8823
8957
|
"kind": "Reference",
|
|
8824
|
-
"text": "
|
|
8825
|
-
"canonicalReference": "@gcorevideo/player!
|
|
8958
|
+
"text": "TimeValue",
|
|
8959
|
+
"canonicalReference": "@gcorevideo/player!TimeValue:type"
|
|
8826
8960
|
},
|
|
8827
8961
|
{
|
|
8828
8962
|
"kind": "Content",
|
|
8829
|
-
"text": "
|
|
8963
|
+
"text": ";\n current: "
|
|
8964
|
+
},
|
|
8965
|
+
{
|
|
8966
|
+
"kind": "Reference",
|
|
8967
|
+
"text": "TimeValue",
|
|
8968
|
+
"canonicalReference": "@gcorevideo/player!TimeValue:type"
|
|
8969
|
+
},
|
|
8970
|
+
{
|
|
8971
|
+
"kind": "Content",
|
|
8972
|
+
"text": ";\n total: "
|
|
8973
|
+
},
|
|
8974
|
+
{
|
|
8975
|
+
"kind": "Reference",
|
|
8976
|
+
"text": "TimeValue",
|
|
8977
|
+
"canonicalReference": "@gcorevideo/player!TimeValue:type"
|
|
8978
|
+
},
|
|
8979
|
+
{
|
|
8980
|
+
"kind": "Content",
|
|
8981
|
+
"text": ";\n}"
|
|
8830
8982
|
},
|
|
8831
8983
|
{
|
|
8832
8984
|
"kind": "Content",
|
|
@@ -8838,7 +8990,7 @@
|
|
|
8838
8990
|
"name": "TimeProgress",
|
|
8839
8991
|
"typeTokenRange": {
|
|
8840
8992
|
"startIndex": 1,
|
|
8841
|
-
"endIndex":
|
|
8993
|
+
"endIndex": 8
|
|
8842
8994
|
}
|
|
8843
8995
|
},
|
|
8844
8996
|
{
|
|
@@ -8875,7 +9027,7 @@
|
|
|
8875
9027
|
{
|
|
8876
9028
|
"kind": "TypeAlias",
|
|
8877
9029
|
"canonicalReference": "@gcorevideo/player!TimeValue:type",
|
|
8878
|
-
"docComment": "/**\n * Playback time in seconds since the beginning of the stream
|
|
9030
|
+
"docComment": "/**\n * Playback time position in seconds since the beginning of the stream. For the live streams this is limited to the length of a segment. When DVR is enabled, this refers to the\n *\n * @public\n */\n",
|
|
8879
9031
|
"excerptTokens": [
|
|
8880
9032
|
{
|
|
8881
9033
|
"kind": "Content",
|