@gcorevideo/player 2.21.1 → 2.21.4
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/audio-selector/style.scss +1 -1
- package/assets/audio-selector/track-selector.ejs +3 -3
- package/assets/bottom-gear/bottomgear.ejs +2 -2
- package/assets/media-control/container.scss +1 -1
- package/assets/media-control/media-control.ejs +1 -11
- package/assets/media-control/media-control.scss +49 -57
- package/assets/media-control/width270.scss +1 -1
- package/assets/media-control/width370.scss +7 -9
- package/assets/playback-rate/button.ejs +2 -2
- package/assets/playback-rate/list.ejs +4 -4
- package/assets/subtitles/combobox.ejs +10 -12
- package/assets/subtitles/string.ejs +1 -1
- package/assets/subtitles/style.scss +9 -16
- package/dist/core.js +5 -1
- package/dist/index.css +782 -794
- package/dist/index.js +240 -244
- package/dist/player.d.ts +141 -119
- package/dist/plugins/index.css +862 -874
- package/dist/plugins/index.js +222 -238
- package/docs/api/player.bottomgear.getelement.md +2 -2
- package/docs/api/player.bottomgear.md +1 -1
- package/docs/api/{player.subtitles.hide.md → player.closedcaptions.hide.md} +2 -2
- package/docs/api/{player.subtitles.md → player.closedcaptions.md} +11 -11
- package/docs/api/{player.subtitles.show.md → player.closedcaptions.show.md} +2 -2
- package/docs/api/player.closedcaptionspluginsettings.md +13 -0
- package/docs/api/player.gearitemelement.md +6 -4
- package/docs/api/player.gearoptionsitem.md +16 -0
- package/docs/api/player.md +48 -12
- package/docs/api/player.mediacontrol.putelement.md +2 -2
- package/docs/api/player.mediacontrolelement.md +1 -1
- package/docs/api/player.playbackrate.md +1 -1
- package/docs/api/player.subtitlespluginsettings.md +18 -0
- package/docs/api/player.texttrackitem.id.md +11 -0
- package/docs/api/player.texttrackitem.md +87 -0
- package/docs/api/player.texttrackitem.name.md +11 -0
- package/docs/api/player.texttrackitem.track.md +11 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +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/BasePlayback.d.ts +1 -0
- package/lib/playback/BasePlayback.d.ts.map +1 -1
- package/lib/playback/BasePlayback.js +3 -0
- package/lib/playback/dash-playback/DashPlayback.d.ts.map +1 -1
- package/lib/playback/dash-playback/DashPlayback.js +1 -0
- package/lib/playback.types.d.ts +5 -0
- package/lib/playback.types.d.ts.map +1 -1
- package/lib/plugins/audio-selector/AudioSelector.d.ts +2 -3
- package/lib/plugins/audio-selector/AudioSelector.d.ts.map +1 -1
- package/lib/plugins/audio-selector/AudioSelector.js +6 -7
- package/lib/plugins/bottom-gear/BottomGear.d.ts +7 -3
- package/lib/plugins/bottom-gear/BottomGear.d.ts.map +1 -1
- package/lib/plugins/bottom-gear/BottomGear.js +4 -2
- package/lib/plugins/media-control/MediaControl.d.ts +5 -6
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +48 -39
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +1 -0
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts.map +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.js +4 -4
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +24 -14
- package/lib/plugins/subtitles/ClosedCaptions.d.ts +118 -0
- package/lib/plugins/subtitles/ClosedCaptions.d.ts.map +1 -0
- package/lib/plugins/subtitles/ClosedCaptions.js +348 -0
- package/lib/plugins/subtitles/Subtitles.d.ts +31 -26
- package/lib/plugins/subtitles/Subtitles.d.ts.map +1 -1
- package/lib/plugins/subtitles/Subtitles.js +138 -169
- package/lib/testUtils.d.ts +22 -18
- package/lib/testUtils.d.ts.map +1 -1
- package/lib/testUtils.js +22 -36
- package/package.json +1 -1
- package/src/index.plugins.ts +2 -1
- package/src/index.ts +1 -1
- package/src/playback/BasePlayback.ts +4 -0
- package/src/playback/dash-playback/DashPlayback.ts +1 -0
- package/src/playback.types.ts +6 -0
- package/src/plugins/audio-selector/AudioSelector.ts +9 -8
- package/src/plugins/bottom-gear/BottomGear.ts +14 -5
- package/src/plugins/bottom-gear/__tests__/BottomGear.test.ts +1 -1
- package/src/plugins/bottom-gear/__tests__/__snapshots__/BottomGear.test.ts.snap +2 -2
- package/src/plugins/media-control/MediaControl.ts +84 -60
- package/src/plugins/media-control/__tests__/MediaControl.test.ts +43 -0
- package/src/plugins/media-control/__tests__/__snapshots__/MediaControl.test.ts.snap +175 -0
- package/src/plugins/picture-in-picture/PictureInPicture.ts +5 -5
- package/src/plugins/playback-rate/PlaybackRate.ts +143 -100
- package/src/plugins/playback-rate/__tests__/PlaybackRate.test.ts +65 -0
- package/src/plugins/playback-rate/__tests__/__snapshots__/PlaybackRate.test.ts.snap +11 -0
- package/src/plugins/subtitles/ClosedCaptions.ts +469 -0
- package/src/plugins/subtitles/__tests__/ClosedCaptions.test.ts +58 -0
- package/src/plugins/subtitles/__tests__/__snapshots__/ClosedCaptions.test.ts.snap +25 -0
- package/src/testUtils.ts +22 -36
- package/temp/player.api.json +269 -89
- package/tsconfig.tsbuildinfo +1 -1
- package/src/plugins/index.ts +0 -39
- package/src/plugins/subtitles/Subtitles.ts +0 -496
package/temp/player.api.json
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
},
|
|
163
163
|
"kind": "Package",
|
|
164
164
|
"canonicalReference": "@gcorevideo/player!",
|
|
165
|
-
"docComment": "/**\n * Video player for the Gcore streaming platform\n *\n * @remarks\n *\n * This package provides a video player for the Gcore streaming platform. It is built on top of the {@link https://github.com/clappr/clappr | Clappr} library and provides a framework for building custom integrations. Start with {@link Player} for more information.\n *\n * Various plugins (marked with `PLUGIN` keyword) are available to extend the
|
|
165
|
+
"docComment": "/**\n * Video player for the Gcore streaming platform\n *\n * @remarks\n *\n * This package provides a video player for the Gcore streaming platform. It is built on top of the {@link https://github.com/clappr/clappr | Clappr} library and provides a framework for building custom integrations. Start with {@link Player} for more information.\n *\n * Various plugins (marked with `PLUGIN` keyword) are available to extend the core functionality with additional features.\n *\n * @example\n * ```ts\n * import { Player, MediaControl, ErrorScreen } from '@gcorevideo/player'\n *\n * Player.registerPlugin(MediaControl)\n * Player.registerPlugin(ErrorScreen)\n *\n * const player = new Player({\n * autoPlay: true,\n * mute: true,\n * sources: [{ source: 'https://example.com/a.mpd', mimeType: 'application/dash+xml' }],\n * })\n *\n * player.attachTo(document.getElementById('container'))\n * ```\n *\n * @packageDocumentation\n */\n",
|
|
166
166
|
"name": "@gcorevideo/player",
|
|
167
167
|
"preserveMemberOrder": false,
|
|
168
168
|
"members": [
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
{
|
|
238
238
|
"kind": "Class",
|
|
239
239
|
"canonicalReference": "@gcorevideo/player!BottomGear:class",
|
|
240
|
-
"docComment": "/**\n * `PLUGIN` that adds the gear button with an extra options menu on the right side of the {@link MediaControl | media control} UI\n *\n * @remarks\n *\n * The plugins provides a base for attaching custom settings UI in the gear menu\n *\n * Depends on:\n *\n * - {@link MediaControl
|
|
240
|
+
"docComment": "/**\n * `PLUGIN` that adds the gear button with an extra options menu on the right side of the {@link MediaControl | media control} UI\n *\n * @remarks\n *\n * The plugins provides a base for attaching custom settings UI in the gear menu\n *\n * Depends on:\n *\n * - {@link MediaControl}\n *\n * @beta\n */\n",
|
|
241
241
|
"excerptTokens": [
|
|
242
242
|
{
|
|
243
243
|
"kind": "Content",
|
|
@@ -270,8 +270,8 @@
|
|
|
270
270
|
},
|
|
271
271
|
{
|
|
272
272
|
"kind": "Reference",
|
|
273
|
-
"text": "
|
|
274
|
-
"canonicalReference": "@gcorevideo/player!
|
|
273
|
+
"text": "GearOptionsItem",
|
|
274
|
+
"canonicalReference": "@gcorevideo/player!GearOptionsItem:type"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
"kind": "Content",
|
|
@@ -767,6 +767,126 @@
|
|
|
767
767
|
],
|
|
768
768
|
"extendsTokenRanges": []
|
|
769
769
|
},
|
|
770
|
+
{
|
|
771
|
+
"kind": "Class",
|
|
772
|
+
"canonicalReference": "@gcorevideo/player!ClosedCaptions:class",
|
|
773
|
+
"docComment": "/**\n * `PLUGIN` that provides a UI to select the subtitles when available.\n *\n * @remarks\n *\n * The plugin is activated when closed captions tracks are provided with the media source. It shows a familiar \"CC\" button with a dropdown menu to select the subtitles language.\n *\n * Depends on:\n *\n * - {@link MediaControl}\n *\n * Configuration options - {@link ClosedCaptionsPluginSettings}\n *\n * @example\n * ```ts\n * import { ClosedCaptions } from '@gcorevideo/player'\n *\n * Player.registerPlugin(ClosedCaptions)\n *\n * new Player({\n * ...\n * cc: {\n * language: 'en',\n * },\n * })\n * ```\n *\n * @beta\n */\n",
|
|
774
|
+
"excerptTokens": [
|
|
775
|
+
{
|
|
776
|
+
"kind": "Content",
|
|
777
|
+
"text": "export declare class ClosedCaptions extends "
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"kind": "Reference",
|
|
781
|
+
"text": "UICorePlugin",
|
|
782
|
+
"canonicalReference": "@gcorevideo/player!~UICorePlugin"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"kind": "Content",
|
|
786
|
+
"text": " "
|
|
787
|
+
}
|
|
788
|
+
],
|
|
789
|
+
"fileUrlPath": "src/plugins/subtitles/ClosedCaptions.ts",
|
|
790
|
+
"releaseTag": "Beta",
|
|
791
|
+
"isAbstract": false,
|
|
792
|
+
"name": "ClosedCaptions",
|
|
793
|
+
"preserveMemberOrder": false,
|
|
794
|
+
"members": [
|
|
795
|
+
{
|
|
796
|
+
"kind": "Method",
|
|
797
|
+
"canonicalReference": "@gcorevideo/player!ClosedCaptions#hide:member(1)",
|
|
798
|
+
"docComment": "/**\n * Hides the subtitles menu and the subtitles.\n */\n",
|
|
799
|
+
"excerptTokens": [
|
|
800
|
+
{
|
|
801
|
+
"kind": "Content",
|
|
802
|
+
"text": "hide(): "
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"kind": "Content",
|
|
806
|
+
"text": "void"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"kind": "Content",
|
|
810
|
+
"text": ";"
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"isStatic": false,
|
|
814
|
+
"returnTypeTokenRange": {
|
|
815
|
+
"startIndex": 1,
|
|
816
|
+
"endIndex": 2
|
|
817
|
+
},
|
|
818
|
+
"releaseTag": "Beta",
|
|
819
|
+
"isProtected": false,
|
|
820
|
+
"overloadIndex": 1,
|
|
821
|
+
"parameters": [],
|
|
822
|
+
"isOptional": false,
|
|
823
|
+
"isAbstract": false,
|
|
824
|
+
"name": "hide"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"kind": "Method",
|
|
828
|
+
"canonicalReference": "@gcorevideo/player!ClosedCaptions#show:member(1)",
|
|
829
|
+
"docComment": "/**\n * Shows the subtitles menu and the subtitles.\n */\n",
|
|
830
|
+
"excerptTokens": [
|
|
831
|
+
{
|
|
832
|
+
"kind": "Content",
|
|
833
|
+
"text": "show(): "
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"kind": "Content",
|
|
837
|
+
"text": "void"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "Content",
|
|
841
|
+
"text": ";"
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"isStatic": false,
|
|
845
|
+
"returnTypeTokenRange": {
|
|
846
|
+
"startIndex": 1,
|
|
847
|
+
"endIndex": 2
|
|
848
|
+
},
|
|
849
|
+
"releaseTag": "Beta",
|
|
850
|
+
"isProtected": false,
|
|
851
|
+
"overloadIndex": 1,
|
|
852
|
+
"parameters": [],
|
|
853
|
+
"isOptional": false,
|
|
854
|
+
"isAbstract": false,
|
|
855
|
+
"name": "show"
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
"extendsTokenRange": {
|
|
859
|
+
"startIndex": 1,
|
|
860
|
+
"endIndex": 2
|
|
861
|
+
},
|
|
862
|
+
"implementsTokenRanges": []
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"kind": "TypeAlias",
|
|
866
|
+
"canonicalReference": "@gcorevideo/player!ClosedCaptionsPluginSettings:type",
|
|
867
|
+
"docComment": "",
|
|
868
|
+
"excerptTokens": [
|
|
869
|
+
{
|
|
870
|
+
"kind": "Content",
|
|
871
|
+
"text": "export type ClosedCaptionsPluginSettings = "
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"kind": "Content",
|
|
875
|
+
"text": "{\n language?: string;\n}"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"kind": "Content",
|
|
879
|
+
"text": ";"
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"fileUrlPath": "src/plugins/subtitles/ClosedCaptions.ts",
|
|
883
|
+
"releaseTag": "Public",
|
|
884
|
+
"name": "ClosedCaptionsPluginSettings",
|
|
885
|
+
"typeTokenRange": {
|
|
886
|
+
"startIndex": 1,
|
|
887
|
+
"endIndex": 2
|
|
888
|
+
}
|
|
889
|
+
},
|
|
770
890
|
{
|
|
771
891
|
"kind": "TypeAlias",
|
|
772
892
|
"canonicalReference": "@gcorevideo/player!ContainerPluginConstructor:type",
|
|
@@ -1269,12 +1389,39 @@
|
|
|
1269
1389
|
{
|
|
1270
1390
|
"kind": "TypeAlias",
|
|
1271
1391
|
"canonicalReference": "@gcorevideo/player!GearItemElement:type",
|
|
1272
|
-
"docComment": "/**\n *
|
|
1392
|
+
"docComment": "/**\n * @deprecated\n *\n * Use {@link GearOptionsItem} instead\n */\n",
|
|
1273
1393
|
"excerptTokens": [
|
|
1274
1394
|
{
|
|
1275
1395
|
"kind": "Content",
|
|
1276
1396
|
"text": "export type GearItemElement = "
|
|
1277
1397
|
},
|
|
1398
|
+
{
|
|
1399
|
+
"kind": "Reference",
|
|
1400
|
+
"text": "GearOptionsItem",
|
|
1401
|
+
"canonicalReference": "@gcorevideo/player!GearOptionsItem:type"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"kind": "Content",
|
|
1405
|
+
"text": ";"
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"fileUrlPath": "src/plugins/bottom-gear/BottomGear.ts",
|
|
1409
|
+
"releaseTag": "Public",
|
|
1410
|
+
"name": "GearItemElement",
|
|
1411
|
+
"typeTokenRange": {
|
|
1412
|
+
"startIndex": 1,
|
|
1413
|
+
"endIndex": 2
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"kind": "TypeAlias",
|
|
1418
|
+
"canonicalReference": "@gcorevideo/player!GearOptionsItem:type",
|
|
1419
|
+
"docComment": "/**\n * An element inside the gear menu\n *\n * @beta\n */\n",
|
|
1420
|
+
"excerptTokens": [
|
|
1421
|
+
{
|
|
1422
|
+
"kind": "Content",
|
|
1423
|
+
"text": "export type GearOptionsItem = "
|
|
1424
|
+
},
|
|
1278
1425
|
{
|
|
1279
1426
|
"kind": "Content",
|
|
1280
1427
|
"text": "'quality' | 'rate' | 'nerd'"
|
|
@@ -1286,7 +1433,7 @@
|
|
|
1286
1433
|
],
|
|
1287
1434
|
"fileUrlPath": "src/plugins/bottom-gear/BottomGear.ts",
|
|
1288
1435
|
"releaseTag": "Beta",
|
|
1289
|
-
"name": "
|
|
1436
|
+
"name": "GearOptionsItem",
|
|
1290
1437
|
"typeTokenRange": {
|
|
1291
1438
|
"startIndex": 1,
|
|
1292
1439
|
"endIndex": 2
|
|
@@ -2862,8 +3009,8 @@
|
|
|
2862
3009
|
},
|
|
2863
3010
|
{
|
|
2864
3011
|
"kind": "Reference",
|
|
2865
|
-
"text": "
|
|
2866
|
-
"canonicalReference": "
|
|
3012
|
+
"text": "HTMLElement",
|
|
3013
|
+
"canonicalReference": "!HTMLElement:interface"
|
|
2867
3014
|
},
|
|
2868
3015
|
{
|
|
2869
3016
|
"kind": "Content",
|
|
@@ -3051,7 +3198,7 @@
|
|
|
3051
3198
|
},
|
|
3052
3199
|
{
|
|
3053
3200
|
"kind": "Content",
|
|
3054
|
-
"text": "'
|
|
3201
|
+
"text": "'audiotracks' | 'clipText' | 'gear' | 'pip' | 'playbackRate' | 'seekBarContainer' | 'cc'"
|
|
3055
3202
|
},
|
|
3056
3203
|
{
|
|
3057
3204
|
"kind": "Content",
|
|
@@ -3887,7 +4034,7 @@
|
|
|
3887
4034
|
{
|
|
3888
4035
|
"kind": "Class",
|
|
3889
4036
|
"canonicalReference": "@gcorevideo/player!PlaybackRate:class",
|
|
3890
|
-
"docComment": "/**\n * `PLUGIN` that allows changing the playback speed of the video.\n *\n * @remarks\n *\n * Depends on:\n *\n * - {@link MediaControl | media_control}\n *\n * - {@link BottomGear | bottom_gear}\n *\n * It renders a button in the gear menu, which opens a dropdown with the options to change the playback rate.\n *\n * @beta\n */\n",
|
|
4037
|
+
"docComment": "/**\n * `PLUGIN` that allows changing the playback speed of the video.\n *\n * @remarks\n *\n * Depends on:\n *\n * - {@link MediaControl | media_control}\n *\n * - {@link BottomGear | bottom_gear}\n *\n * It renders a button in the gear menu, which opens a dropdown with the options to change the playback rate. Note that the playback rate change is supported only for VOD or DVR enabled live streams.\n *\n * @beta\n */\n",
|
|
3891
4038
|
"excerptTokens": [
|
|
3892
4039
|
{
|
|
3893
4040
|
"kind": "Content",
|
|
@@ -8002,98 +8149,31 @@
|
|
|
8002
8149
|
"extendsTokenRanges": []
|
|
8003
8150
|
},
|
|
8004
8151
|
{
|
|
8005
|
-
"kind": "
|
|
8006
|
-
"canonicalReference": "@gcorevideo/player!
|
|
8007
|
-
"docComment": "/**\n *
|
|
8152
|
+
"kind": "TypeAlias",
|
|
8153
|
+
"canonicalReference": "@gcorevideo/player!SubtitlesPluginSettings:type",
|
|
8154
|
+
"docComment": "/**\n * @deprecated\n *\n * Use {@link ClosedCaptionsPluginSettings} instead.\n */\n",
|
|
8008
8155
|
"excerptTokens": [
|
|
8009
8156
|
{
|
|
8010
8157
|
"kind": "Content",
|
|
8011
|
-
"text": "export
|
|
8158
|
+
"text": "export type SubtitlesPluginSettings = "
|
|
8012
8159
|
},
|
|
8013
8160
|
{
|
|
8014
8161
|
"kind": "Reference",
|
|
8015
|
-
"text": "
|
|
8016
|
-
"canonicalReference": "@gcorevideo/player
|
|
8162
|
+
"text": "ClosedCaptionsPluginSettings",
|
|
8163
|
+
"canonicalReference": "@gcorevideo/player!ClosedCaptionsPluginSettings:type"
|
|
8017
8164
|
},
|
|
8018
8165
|
{
|
|
8019
8166
|
"kind": "Content",
|
|
8020
|
-
"text": "
|
|
8021
|
-
}
|
|
8022
|
-
],
|
|
8023
|
-
"fileUrlPath": "src/plugins/subtitles/Subtitles.ts",
|
|
8024
|
-
"releaseTag": "Beta",
|
|
8025
|
-
"isAbstract": false,
|
|
8026
|
-
"name": "Subtitles",
|
|
8027
|
-
"preserveMemberOrder": false,
|
|
8028
|
-
"members": [
|
|
8029
|
-
{
|
|
8030
|
-
"kind": "Method",
|
|
8031
|
-
"canonicalReference": "@gcorevideo/player!Subtitles#hide:member(1)",
|
|
8032
|
-
"docComment": "/**\n * Hides the subtitles menu and the subtitles.\n */\n",
|
|
8033
|
-
"excerptTokens": [
|
|
8034
|
-
{
|
|
8035
|
-
"kind": "Content",
|
|
8036
|
-
"text": "hide(): "
|
|
8037
|
-
},
|
|
8038
|
-
{
|
|
8039
|
-
"kind": "Content",
|
|
8040
|
-
"text": "void"
|
|
8041
|
-
},
|
|
8042
|
-
{
|
|
8043
|
-
"kind": "Content",
|
|
8044
|
-
"text": ";"
|
|
8045
|
-
}
|
|
8046
|
-
],
|
|
8047
|
-
"isStatic": false,
|
|
8048
|
-
"returnTypeTokenRange": {
|
|
8049
|
-
"startIndex": 1,
|
|
8050
|
-
"endIndex": 2
|
|
8051
|
-
},
|
|
8052
|
-
"releaseTag": "Beta",
|
|
8053
|
-
"isProtected": false,
|
|
8054
|
-
"overloadIndex": 1,
|
|
8055
|
-
"parameters": [],
|
|
8056
|
-
"isOptional": false,
|
|
8057
|
-
"isAbstract": false,
|
|
8058
|
-
"name": "hide"
|
|
8059
|
-
},
|
|
8060
|
-
{
|
|
8061
|
-
"kind": "Method",
|
|
8062
|
-
"canonicalReference": "@gcorevideo/player!Subtitles#show:member(1)",
|
|
8063
|
-
"docComment": "/**\n * Shows the subtitles menu and the subtitles.\n */\n",
|
|
8064
|
-
"excerptTokens": [
|
|
8065
|
-
{
|
|
8066
|
-
"kind": "Content",
|
|
8067
|
-
"text": "show(): "
|
|
8068
|
-
},
|
|
8069
|
-
{
|
|
8070
|
-
"kind": "Content",
|
|
8071
|
-
"text": "void"
|
|
8072
|
-
},
|
|
8073
|
-
{
|
|
8074
|
-
"kind": "Content",
|
|
8075
|
-
"text": ";"
|
|
8076
|
-
}
|
|
8077
|
-
],
|
|
8078
|
-
"isStatic": false,
|
|
8079
|
-
"returnTypeTokenRange": {
|
|
8080
|
-
"startIndex": 1,
|
|
8081
|
-
"endIndex": 2
|
|
8082
|
-
},
|
|
8083
|
-
"releaseTag": "Beta",
|
|
8084
|
-
"isProtected": false,
|
|
8085
|
-
"overloadIndex": 1,
|
|
8086
|
-
"parameters": [],
|
|
8087
|
-
"isOptional": false,
|
|
8088
|
-
"isAbstract": false,
|
|
8089
|
-
"name": "show"
|
|
8167
|
+
"text": ";"
|
|
8090
8168
|
}
|
|
8091
8169
|
],
|
|
8092
|
-
"
|
|
8170
|
+
"fileUrlPath": "src/plugins/subtitles/ClosedCaptions.ts",
|
|
8171
|
+
"releaseTag": "Public",
|
|
8172
|
+
"name": "SubtitlesPluginSettings",
|
|
8173
|
+
"typeTokenRange": {
|
|
8093
8174
|
"startIndex": 1,
|
|
8094
8175
|
"endIndex": 2
|
|
8095
|
-
}
|
|
8096
|
-
"implementsTokenRanges": []
|
|
8176
|
+
}
|
|
8097
8177
|
},
|
|
8098
8178
|
{
|
|
8099
8179
|
"kind": "Class",
|
|
@@ -8496,6 +8576,106 @@
|
|
|
8496
8576
|
"endIndex": 4
|
|
8497
8577
|
}
|
|
8498
8578
|
},
|
|
8579
|
+
{
|
|
8580
|
+
"kind": "Interface",
|
|
8581
|
+
"canonicalReference": "@gcorevideo/player!TextTrackItem:interface",
|
|
8582
|
+
"docComment": "",
|
|
8583
|
+
"excerptTokens": [
|
|
8584
|
+
{
|
|
8585
|
+
"kind": "Content",
|
|
8586
|
+
"text": "export interface TextTrackItem "
|
|
8587
|
+
}
|
|
8588
|
+
],
|
|
8589
|
+
"fileUrlPath": "src/playback.types.ts",
|
|
8590
|
+
"releaseTag": "Public",
|
|
8591
|
+
"name": "TextTrackItem",
|
|
8592
|
+
"preserveMemberOrder": false,
|
|
8593
|
+
"members": [
|
|
8594
|
+
{
|
|
8595
|
+
"kind": "PropertySignature",
|
|
8596
|
+
"canonicalReference": "@gcorevideo/player!TextTrackItem#id:member",
|
|
8597
|
+
"docComment": "",
|
|
8598
|
+
"excerptTokens": [
|
|
8599
|
+
{
|
|
8600
|
+
"kind": "Content",
|
|
8601
|
+
"text": "id: "
|
|
8602
|
+
},
|
|
8603
|
+
{
|
|
8604
|
+
"kind": "Content",
|
|
8605
|
+
"text": "number"
|
|
8606
|
+
},
|
|
8607
|
+
{
|
|
8608
|
+
"kind": "Content",
|
|
8609
|
+
"text": ";"
|
|
8610
|
+
}
|
|
8611
|
+
],
|
|
8612
|
+
"isReadonly": false,
|
|
8613
|
+
"isOptional": false,
|
|
8614
|
+
"releaseTag": "Public",
|
|
8615
|
+
"name": "id",
|
|
8616
|
+
"propertyTypeTokenRange": {
|
|
8617
|
+
"startIndex": 1,
|
|
8618
|
+
"endIndex": 2
|
|
8619
|
+
}
|
|
8620
|
+
},
|
|
8621
|
+
{
|
|
8622
|
+
"kind": "PropertySignature",
|
|
8623
|
+
"canonicalReference": "@gcorevideo/player!TextTrackItem#name:member",
|
|
8624
|
+
"docComment": "",
|
|
8625
|
+
"excerptTokens": [
|
|
8626
|
+
{
|
|
8627
|
+
"kind": "Content",
|
|
8628
|
+
"text": "name: "
|
|
8629
|
+
},
|
|
8630
|
+
{
|
|
8631
|
+
"kind": "Content",
|
|
8632
|
+
"text": "string"
|
|
8633
|
+
},
|
|
8634
|
+
{
|
|
8635
|
+
"kind": "Content",
|
|
8636
|
+
"text": ";"
|
|
8637
|
+
}
|
|
8638
|
+
],
|
|
8639
|
+
"isReadonly": false,
|
|
8640
|
+
"isOptional": false,
|
|
8641
|
+
"releaseTag": "Public",
|
|
8642
|
+
"name": "name",
|
|
8643
|
+
"propertyTypeTokenRange": {
|
|
8644
|
+
"startIndex": 1,
|
|
8645
|
+
"endIndex": 2
|
|
8646
|
+
}
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
"kind": "PropertySignature",
|
|
8650
|
+
"canonicalReference": "@gcorevideo/player!TextTrackItem#track:member",
|
|
8651
|
+
"docComment": "",
|
|
8652
|
+
"excerptTokens": [
|
|
8653
|
+
{
|
|
8654
|
+
"kind": "Content",
|
|
8655
|
+
"text": "track: "
|
|
8656
|
+
},
|
|
8657
|
+
{
|
|
8658
|
+
"kind": "Reference",
|
|
8659
|
+
"text": "TextTrack",
|
|
8660
|
+
"canonicalReference": "!TextTrack:interface"
|
|
8661
|
+
},
|
|
8662
|
+
{
|
|
8663
|
+
"kind": "Content",
|
|
8664
|
+
"text": ";"
|
|
8665
|
+
}
|
|
8666
|
+
],
|
|
8667
|
+
"isReadonly": false,
|
|
8668
|
+
"isOptional": false,
|
|
8669
|
+
"releaseTag": "Public",
|
|
8670
|
+
"name": "track",
|
|
8671
|
+
"propertyTypeTokenRange": {
|
|
8672
|
+
"startIndex": 1,
|
|
8673
|
+
"endIndex": 2
|
|
8674
|
+
}
|
|
8675
|
+
}
|
|
8676
|
+
],
|
|
8677
|
+
"extendsTokenRanges": []
|
|
8678
|
+
},
|
|
8499
8679
|
{
|
|
8500
8680
|
"kind": "Class",
|
|
8501
8681
|
"canonicalReference": "@gcorevideo/player!Thumbnails:class",
|