@gcorevideo/player 2.24.2 → 2.24.5
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/big-mute-button/big-mute-button.ejs +2 -2
- package/dist/core.js +2 -2
- package/dist/index.css +418 -418
- package/dist/index.js +135 -112
- package/dist/player.d.ts +76 -30
- package/docs/api/player.bigmutebutton.md +13 -1
- package/docs/api/player.clapprstatssettings.md +51 -4
- package/docs/api/player.clapprstatssettings.runeach.md +16 -0
- package/docs/api/player.clipspluginsettings.md +1 -1
- package/docs/api/player.clipspluginsettings.text.md +1 -1
- package/docs/api/player.cmcdconfig.exportids.md +4 -0
- package/docs/api/player.cmcdconfig.md +19 -105
- package/docs/api/{player.cmcdconfig.version.md → player.cmcdconfigoptions.contentid.md} +5 -3
- package/docs/api/player.cmcdconfigoptions.md +79 -0
- package/docs/api/{player.cmcdconfigpluginsettings.md → player.cmcdconfigoptions.sessionid.md} +4 -6
- package/docs/api/player.extendedevents.md +9 -0
- package/docs/api/player.md +37 -31
- package/docs/api/player.mediacontrol.getavailableheight.md +24 -0
- package/docs/api/player.mediacontrol.md +14 -0
- package/docs/api/{player.cmcdconfig.name.md → player.posterpluginsettings.custom.md} +4 -3
- package/docs/api/player.posterpluginsettings.md +108 -7
- package/docs/api/player.posterpluginsettings.showfornoop.md +16 -0
- package/docs/api/player.posterpluginsettings.showonvideoend.md +16 -0
- package/docs/api/{player.cmcdconfig.bindevents.md → player.posterpluginsettings.url.md} +4 -7
- package/lib/Player.js +1 -1
- package/lib/index.embed.d.ts +30 -0
- package/lib/index.embed.d.ts.map +1 -0
- package/lib/index.embed.js +29 -0
- package/lib/plugins/big-mute-button/BigMuteButton.d.ts +18 -13
- package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
- package/lib/plugins/big-mute-button/BigMuteButton.js +77 -83
- package/lib/plugins/clappr-stats/ClapprStats.d.ts +6 -2
- package/lib/plugins/clappr-stats/ClapprStats.d.ts.map +1 -1
- package/lib/plugins/click-to-pause/ClickToPause.js +1 -1
- package/lib/plugins/clips/Clips.d.ts +1 -1
- package/lib/plugins/clips/Clips.d.ts.map +1 -1
- package/lib/plugins/clips/Clips.js +2 -1
- package/lib/plugins/cmcd-config/CmcdConfig.d.ts +34 -11
- package/lib/plugins/cmcd-config/CmcdConfig.d.ts.map +1 -1
- package/lib/plugins/cmcd-config/CmcdConfig.js +28 -18
- package/lib/plugins/media-control/MediaControl.d.ts +4 -0
- package/lib/plugins/media-control/MediaControl.d.ts.map +1 -1
- package/lib/plugins/media-control/MediaControl.js +6 -1
- package/lib/plugins/poster/Poster.d.ts +7 -3
- package/lib/plugins/poster/Poster.d.ts.map +1 -1
- package/lib/plugins/source-controller/SourceController.d.ts +1 -0
- package/lib/plugins/source-controller/SourceController.d.ts.map +1 -1
- package/lib/plugins/source-controller/SourceController.js +22 -9
- package/lib/testUtils.d.ts +1 -0
- package/lib/testUtils.d.ts.map +1 -1
- package/lib/testUtils.js +1 -0
- package/package.json +1 -1
- package/src/Player.ts +1 -1
- package/src/index.embed.ts +29 -0
- package/src/plugins/big-mute-button/BigMuteButton.ts +84 -108
- package/src/plugins/big-mute-button/__tests__/BigMuteButton.test.ts +86 -0
- package/src/plugins/big-mute-button/__tests__/__snapshots__/BigMuteButton.test.ts.snap +8 -0
- package/src/plugins/clappr-stats/ClapprStats.ts +5 -1
- package/src/plugins/click-to-pause/ClickToPause.ts +1 -1
- package/src/plugins/clips/Clips.ts +3 -2
- package/src/plugins/cmcd-config/CmcdConfig.ts +33 -27
- package/src/plugins/media-control/MediaControl.ts +6 -1
- package/src/plugins/poster/Poster.ts +6 -2
- package/src/plugins/source-controller/SourceController.ts +27 -9
- package/src/plugins/source-controller/__tests__/SourceController.test.ts +28 -8
- package/src/testUtils.ts +5 -1
- package/temp/player.api.json +229 -154
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.cmcdconfig.supportedversion.md +0 -14
package/temp/player.api.json
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
{
|
|
207
207
|
"kind": "Class",
|
|
208
208
|
"canonicalReference": "@gcorevideo/player!BigMuteButton:class",
|
|
209
|
-
"docComment": "/**\n * `PLUGIN` that displays a big mute button over the video when it's muted
|
|
209
|
+
"docComment": "/**\n * `PLUGIN` that displays a big mute button over the video when it's being played muted.\n *\n * @remarks\n *\n * When pressed, it unmutes the video.\n *\n * @example\n * ```ts\n * import { BigMuteButton } from '@gcorevideo/player'\n * Player.registerPlugin(BigMuteButton)\n * ```\n *\n * @beta\n */\n",
|
|
210
210
|
"excerptTokens": [
|
|
211
211
|
{
|
|
212
212
|
"kind": "Content",
|
|
@@ -1114,30 +1114,49 @@
|
|
|
1114
1114
|
}
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
|
-
"kind": "
|
|
1118
|
-
"canonicalReference": "@gcorevideo/player!ClapprStatsSettings:
|
|
1119
|
-
"docComment": "",
|
|
1117
|
+
"kind": "Interface",
|
|
1118
|
+
"canonicalReference": "@gcorevideo/player!ClapprStatsSettings:interface",
|
|
1119
|
+
"docComment": "/**\n * Config options for the {@link ClapprStats} plugin\n *\n * @beta\n */\n",
|
|
1120
1120
|
"excerptTokens": [
|
|
1121
1121
|
{
|
|
1122
1122
|
"kind": "Content",
|
|
1123
|
-
"text": "export
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"kind": "Content",
|
|
1127
|
-
"text": "{\n runEach?: number;\n}"
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
"kind": "Content",
|
|
1131
|
-
"text": ";"
|
|
1123
|
+
"text": "export interface ClapprStatsSettings "
|
|
1132
1124
|
}
|
|
1133
1125
|
],
|
|
1134
1126
|
"fileUrlPath": "src/plugins/clappr-stats/ClapprStats.ts",
|
|
1135
|
-
"releaseTag": "
|
|
1127
|
+
"releaseTag": "Beta",
|
|
1136
1128
|
"name": "ClapprStatsSettings",
|
|
1137
|
-
"
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1129
|
+
"preserveMemberOrder": false,
|
|
1130
|
+
"members": [
|
|
1131
|
+
{
|
|
1132
|
+
"kind": "PropertySignature",
|
|
1133
|
+
"canonicalReference": "@gcorevideo/player!ClapprStatsSettings#runEach:member",
|
|
1134
|
+
"docComment": "/**\n * The interval in milliseconds of periodic measurements. The plugin will emit a {@link ClapprStatsEvents.REPORT} event with the collected metrics at the specified interval.\n */\n",
|
|
1135
|
+
"excerptTokens": [
|
|
1136
|
+
{
|
|
1137
|
+
"kind": "Content",
|
|
1138
|
+
"text": "runEach?: "
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"kind": "Content",
|
|
1142
|
+
"text": "number"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"kind": "Content",
|
|
1146
|
+
"text": ";"
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
1149
|
+
"isReadonly": false,
|
|
1150
|
+
"isOptional": true,
|
|
1151
|
+
"releaseTag": "Beta",
|
|
1152
|
+
"name": "runEach",
|
|
1153
|
+
"propertyTypeTokenRange": {
|
|
1154
|
+
"startIndex": 1,
|
|
1155
|
+
"endIndex": 2
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"extendsTokenRanges": []
|
|
1141
1160
|
},
|
|
1142
1161
|
{
|
|
1143
1162
|
"kind": "Class",
|
|
@@ -1458,7 +1477,7 @@
|
|
|
1458
1477
|
{
|
|
1459
1478
|
"kind": "PropertySignature",
|
|
1460
1479
|
"canonicalReference": "@gcorevideo/player!ClipsPluginSettings#text:member",
|
|
1461
|
-
"docComment": "/**\n * The compiled text of the clips description, one clip per line in format
|
|
1480
|
+
"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",
|
|
1462
1481
|
"excerptTokens": [
|
|
1463
1482
|
{
|
|
1464
1483
|
"kind": "Content",
|
|
@@ -1608,7 +1627,7 @@
|
|
|
1608
1627
|
{
|
|
1609
1628
|
"kind": "Class",
|
|
1610
1629
|
"canonicalReference": "@gcorevideo/player!CmcdConfig:class",
|
|
1611
|
-
"docComment": "/**\n * A `PLUGIN` that configures CMCD for playback\n *\n * @remarks\n *\n * Configuration options
|
|
1630
|
+
"docComment": "/**\n * A `PLUGIN` that configures {@link https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf | CMCD} for playback\n *\n * @remarks\n *\n * Configuration options - {@link CmcdConfigOptions}.\n *\n * @example\n * ```ts\n * import { CmcdConfig } from '@gcorevideo/player'\n * Player.registerPlugin(CmcdConfig)\n *\n * const player = new Player({\n * source: 'https://example.com/video.mp4',\n * cmcd: {\n * sessionId: '1234567890',\n * contentId: 'f572d396fae9206628714fb2ce00f72e94f2258f',\n * },\n * })\n * ```\n *\n * @beta\n */\n",
|
|
1612
1631
|
"excerptTokens": [
|
|
1613
1632
|
{
|
|
1614
1633
|
"kind": "Content",
|
|
@@ -1663,41 +1682,10 @@
|
|
|
1663
1682
|
}
|
|
1664
1683
|
]
|
|
1665
1684
|
},
|
|
1666
|
-
{
|
|
1667
|
-
"kind": "Method",
|
|
1668
|
-
"canonicalReference": "@gcorevideo/player!CmcdConfig#bindEvents:member(1)",
|
|
1669
|
-
"docComment": "/**\n * @inheritdocs\n */\n",
|
|
1670
|
-
"excerptTokens": [
|
|
1671
|
-
{
|
|
1672
|
-
"kind": "Content",
|
|
1673
|
-
"text": "bindEvents(): "
|
|
1674
|
-
},
|
|
1675
|
-
{
|
|
1676
|
-
"kind": "Content",
|
|
1677
|
-
"text": "void"
|
|
1678
|
-
},
|
|
1679
|
-
{
|
|
1680
|
-
"kind": "Content",
|
|
1681
|
-
"text": ";"
|
|
1682
|
-
}
|
|
1683
|
-
],
|
|
1684
|
-
"isStatic": false,
|
|
1685
|
-
"returnTypeTokenRange": {
|
|
1686
|
-
"startIndex": 1,
|
|
1687
|
-
"endIndex": 2
|
|
1688
|
-
},
|
|
1689
|
-
"releaseTag": "Beta",
|
|
1690
|
-
"isProtected": false,
|
|
1691
|
-
"overloadIndex": 1,
|
|
1692
|
-
"parameters": [],
|
|
1693
|
-
"isOptional": false,
|
|
1694
|
-
"isAbstract": false,
|
|
1695
|
-
"name": "bindEvents"
|
|
1696
|
-
},
|
|
1697
1685
|
{
|
|
1698
1686
|
"kind": "Method",
|
|
1699
1687
|
"canonicalReference": "@gcorevideo/player!CmcdConfig#exportIds:member(1)",
|
|
1700
|
-
"docComment": "",
|
|
1688
|
+
"docComment": "/**\n * Returns the current `sid` and `cid` values. Useful when the auto-generated values need to be known.\n *\n * @returns `sid` and `cid` values\n */\n",
|
|
1701
1689
|
"excerptTokens": [
|
|
1702
1690
|
{
|
|
1703
1691
|
"kind": "Content",
|
|
@@ -1724,45 +1712,37 @@
|
|
|
1724
1712
|
"isOptional": false,
|
|
1725
1713
|
"isAbstract": false,
|
|
1726
1714
|
"name": "exportIds"
|
|
1727
|
-
}
|
|
1715
|
+
}
|
|
1716
|
+
],
|
|
1717
|
+
"extendsTokenRange": {
|
|
1718
|
+
"startIndex": 1,
|
|
1719
|
+
"endIndex": 2
|
|
1720
|
+
},
|
|
1721
|
+
"implementsTokenRanges": []
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"kind": "Interface",
|
|
1725
|
+
"canonicalReference": "@gcorevideo/player!CmcdConfigOptions:interface",
|
|
1726
|
+
"docComment": "/**\n * Config options for the {@link CmcdConfig} plugin\n *\n * @beta\n */\n",
|
|
1727
|
+
"excerptTokens": [
|
|
1728
1728
|
{
|
|
1729
|
-
"kind": "
|
|
1730
|
-
"
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
"kind": "Content",
|
|
1739
|
-
"text": "string"
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "Content",
|
|
1743
|
-
"text": ";"
|
|
1744
|
-
}
|
|
1745
|
-
],
|
|
1746
|
-
"isReadonly": true,
|
|
1747
|
-
"isOptional": false,
|
|
1748
|
-
"releaseTag": "Beta",
|
|
1749
|
-
"name": "name",
|
|
1750
|
-
"propertyTypeTokenRange": {
|
|
1751
|
-
"startIndex": 1,
|
|
1752
|
-
"endIndex": 2
|
|
1753
|
-
},
|
|
1754
|
-
"isStatic": false,
|
|
1755
|
-
"isProtected": false,
|
|
1756
|
-
"isAbstract": false
|
|
1757
|
-
},
|
|
1729
|
+
"kind": "Content",
|
|
1730
|
+
"text": "export interface CmcdConfigOptions "
|
|
1731
|
+
}
|
|
1732
|
+
],
|
|
1733
|
+
"fileUrlPath": "src/plugins/cmcd-config/CmcdConfig.ts",
|
|
1734
|
+
"releaseTag": "Beta",
|
|
1735
|
+
"name": "CmcdConfigOptions",
|
|
1736
|
+
"preserveMemberOrder": false,
|
|
1737
|
+
"members": [
|
|
1758
1738
|
{
|
|
1759
|
-
"kind": "
|
|
1760
|
-
"canonicalReference": "@gcorevideo/player!
|
|
1761
|
-
"docComment": "",
|
|
1739
|
+
"kind": "PropertySignature",
|
|
1740
|
+
"canonicalReference": "@gcorevideo/player!CmcdConfigOptions#contentId:member",
|
|
1741
|
+
"docComment": "/**\n * `cid` value. If ommitted, the pathname part of the first source URL will be used\n */\n",
|
|
1762
1742
|
"excerptTokens": [
|
|
1763
1743
|
{
|
|
1764
1744
|
"kind": "Content",
|
|
1765
|
-
"text": "
|
|
1745
|
+
"text": "contentId?: "
|
|
1766
1746
|
},
|
|
1767
1747
|
{
|
|
1768
1748
|
"kind": "Content",
|
|
@@ -1773,26 +1753,23 @@
|
|
|
1773
1753
|
"text": ";"
|
|
1774
1754
|
}
|
|
1775
1755
|
],
|
|
1776
|
-
"isReadonly":
|
|
1777
|
-
"isOptional":
|
|
1756
|
+
"isReadonly": false,
|
|
1757
|
+
"isOptional": true,
|
|
1778
1758
|
"releaseTag": "Beta",
|
|
1779
|
-
"name": "
|
|
1759
|
+
"name": "contentId",
|
|
1780
1760
|
"propertyTypeTokenRange": {
|
|
1781
1761
|
"startIndex": 1,
|
|
1782
1762
|
"endIndex": 2
|
|
1783
|
-
}
|
|
1784
|
-
"isStatic": false,
|
|
1785
|
-
"isProtected": false,
|
|
1786
|
-
"isAbstract": false
|
|
1763
|
+
}
|
|
1787
1764
|
},
|
|
1788
1765
|
{
|
|
1789
|
-
"kind": "
|
|
1790
|
-
"canonicalReference": "@gcorevideo/player!
|
|
1791
|
-
"docComment": "",
|
|
1766
|
+
"kind": "PropertySignature",
|
|
1767
|
+
"canonicalReference": "@gcorevideo/player!CmcdConfigOptions#sessionId:member",
|
|
1768
|
+
"docComment": "/**\n * `sid` value. If ommitted, a random UUID will be generated\n */\n",
|
|
1792
1769
|
"excerptTokens": [
|
|
1793
1770
|
{
|
|
1794
1771
|
"kind": "Content",
|
|
1795
|
-
"text": "
|
|
1772
|
+
"text": "sessionId?: "
|
|
1796
1773
|
},
|
|
1797
1774
|
{
|
|
1798
1775
|
"kind": "Content",
|
|
@@ -1803,50 +1780,17 @@
|
|
|
1803
1780
|
"text": ";"
|
|
1804
1781
|
}
|
|
1805
1782
|
],
|
|
1806
|
-
"isReadonly":
|
|
1807
|
-
"isOptional":
|
|
1783
|
+
"isReadonly": false,
|
|
1784
|
+
"isOptional": true,
|
|
1808
1785
|
"releaseTag": "Beta",
|
|
1809
|
-
"name": "
|
|
1786
|
+
"name": "sessionId",
|
|
1810
1787
|
"propertyTypeTokenRange": {
|
|
1811
1788
|
"startIndex": 1,
|
|
1812
1789
|
"endIndex": 2
|
|
1813
|
-
}
|
|
1814
|
-
"isStatic": false,
|
|
1815
|
-
"isProtected": false,
|
|
1816
|
-
"isAbstract": false
|
|
1817
|
-
}
|
|
1818
|
-
],
|
|
1819
|
-
"extendsTokenRange": {
|
|
1820
|
-
"startIndex": 1,
|
|
1821
|
-
"endIndex": 2
|
|
1822
|
-
},
|
|
1823
|
-
"implementsTokenRanges": []
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"kind": "TypeAlias",
|
|
1827
|
-
"canonicalReference": "@gcorevideo/player!CmcdConfigPluginSettings:type",
|
|
1828
|
-
"docComment": "/**\n * @beta\n */\n",
|
|
1829
|
-
"excerptTokens": [
|
|
1830
|
-
{
|
|
1831
|
-
"kind": "Content",
|
|
1832
|
-
"text": "export type CmcdConfigPluginSettings = "
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
"kind": "Content",
|
|
1836
|
-
"text": "{\n sessionId: string;\n contentId?: string;\n}"
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"kind": "Content",
|
|
1840
|
-
"text": ";"
|
|
1790
|
+
}
|
|
1841
1791
|
}
|
|
1842
1792
|
],
|
|
1843
|
-
"
|
|
1844
|
-
"releaseTag": "Beta",
|
|
1845
|
-
"name": "CmcdConfigPluginSettings",
|
|
1846
|
-
"typeTokenRange": {
|
|
1847
|
-
"startIndex": 1,
|
|
1848
|
-
"endIndex": 2
|
|
1849
|
-
}
|
|
1793
|
+
"extendsTokenRanges": []
|
|
1850
1794
|
},
|
|
1851
1795
|
{
|
|
1852
1796
|
"kind": "TypeAlias",
|
|
@@ -2251,7 +2195,7 @@
|
|
|
2251
2195
|
{
|
|
2252
2196
|
"kind": "Enum",
|
|
2253
2197
|
"canonicalReference": "@gcorevideo/player!ExtendedEvents:enum",
|
|
2254
|
-
"docComment": "",
|
|
2198
|
+
"docComment": "/**\n * Extended events for the {@link MediaControl} plugin\n *\n * @beta\n */\n",
|
|
2255
2199
|
"excerptTokens": [
|
|
2256
2200
|
{
|
|
2257
2201
|
"kind": "Content",
|
|
@@ -2259,7 +2203,7 @@
|
|
|
2259
2203
|
}
|
|
2260
2204
|
],
|
|
2261
2205
|
"fileUrlPath": "src/plugins/media-control/MediaControl.ts",
|
|
2262
|
-
"releaseTag": "
|
|
2206
|
+
"releaseTag": "Beta",
|
|
2263
2207
|
"name": "ExtendedEvents",
|
|
2264
2208
|
"preserveMemberOrder": false,
|
|
2265
2209
|
"members": [
|
|
@@ -2281,7 +2225,7 @@
|
|
|
2281
2225
|
"startIndex": 1,
|
|
2282
2226
|
"endIndex": 2
|
|
2283
2227
|
},
|
|
2284
|
-
"releaseTag": "
|
|
2228
|
+
"releaseTag": "Beta",
|
|
2285
2229
|
"name": "MEDIACONTROL_MENU_COLLAPSE"
|
|
2286
2230
|
},
|
|
2287
2231
|
{
|
|
@@ -2302,7 +2246,7 @@
|
|
|
2302
2246
|
"startIndex": 1,
|
|
2303
2247
|
"endIndex": 2
|
|
2304
2248
|
},
|
|
2305
|
-
"releaseTag": "
|
|
2249
|
+
"releaseTag": "Beta",
|
|
2306
2250
|
"name": "MEDIACONTROL_VOLUME"
|
|
2307
2251
|
}
|
|
2308
2252
|
]
|
|
@@ -3655,6 +3599,37 @@
|
|
|
3655
3599
|
"isAbstract": false,
|
|
3656
3600
|
"name": "enableControlButton"
|
|
3657
3601
|
},
|
|
3602
|
+
{
|
|
3603
|
+
"kind": "Method",
|
|
3604
|
+
"canonicalReference": "@gcorevideo/player!MediaControl#getAvailableHeight:member(1)",
|
|
3605
|
+
"docComment": "/**\n * @remarks\n *\n * This takes into account the container height and excludes the height of the controls bar\n *\n * @returns Vertical space available to render something on top of the container.\n */\n",
|
|
3606
|
+
"excerptTokens": [
|
|
3607
|
+
{
|
|
3608
|
+
"kind": "Content",
|
|
3609
|
+
"text": "getAvailableHeight(): "
|
|
3610
|
+
},
|
|
3611
|
+
{
|
|
3612
|
+
"kind": "Content",
|
|
3613
|
+
"text": "number"
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"kind": "Content",
|
|
3617
|
+
"text": ";"
|
|
3618
|
+
}
|
|
3619
|
+
],
|
|
3620
|
+
"isStatic": false,
|
|
3621
|
+
"returnTypeTokenRange": {
|
|
3622
|
+
"startIndex": 1,
|
|
3623
|
+
"endIndex": 2
|
|
3624
|
+
},
|
|
3625
|
+
"releaseTag": "Beta",
|
|
3626
|
+
"isProtected": false,
|
|
3627
|
+
"overloadIndex": 1,
|
|
3628
|
+
"parameters": [],
|
|
3629
|
+
"isOptional": false,
|
|
3630
|
+
"isAbstract": false,
|
|
3631
|
+
"name": "getAvailableHeight"
|
|
3632
|
+
},
|
|
3658
3633
|
{
|
|
3659
3634
|
"kind": "Method",
|
|
3660
3635
|
"canonicalReference": "@gcorevideo/player!MediaControl#mount:member(1)",
|
|
@@ -7221,30 +7196,130 @@
|
|
|
7221
7196
|
"implementsTokenRanges": []
|
|
7222
7197
|
},
|
|
7223
7198
|
{
|
|
7224
|
-
"kind": "
|
|
7225
|
-
"canonicalReference": "@gcorevideo/player!PosterPluginSettings:
|
|
7226
|
-
"docComment": "",
|
|
7199
|
+
"kind": "Interface",
|
|
7200
|
+
"canonicalReference": "@gcorevideo/player!PosterPluginSettings:interface",
|
|
7201
|
+
"docComment": "/**\n * Config options for the {@link Poster} plugin\n *\n * @beta\n */\n",
|
|
7227
7202
|
"excerptTokens": [
|
|
7228
7203
|
{
|
|
7229
7204
|
"kind": "Content",
|
|
7230
|
-
"text": "export
|
|
7205
|
+
"text": "export interface PosterPluginSettings "
|
|
7206
|
+
}
|
|
7207
|
+
],
|
|
7208
|
+
"fileUrlPath": "src/plugins/poster/Poster.ts",
|
|
7209
|
+
"releaseTag": "Beta",
|
|
7210
|
+
"name": "PosterPluginSettings",
|
|
7211
|
+
"preserveMemberOrder": false,
|
|
7212
|
+
"members": [
|
|
7213
|
+
{
|
|
7214
|
+
"kind": "PropertySignature",
|
|
7215
|
+
"canonicalReference": "@gcorevideo/player!PosterPluginSettings#custom:member",
|
|
7216
|
+
"docComment": "/**\n * Custom CSS background\n */\n",
|
|
7217
|
+
"excerptTokens": [
|
|
7218
|
+
{
|
|
7219
|
+
"kind": "Content",
|
|
7220
|
+
"text": "custom?: "
|
|
7221
|
+
},
|
|
7222
|
+
{
|
|
7223
|
+
"kind": "Content",
|
|
7224
|
+
"text": "string"
|
|
7225
|
+
},
|
|
7226
|
+
{
|
|
7227
|
+
"kind": "Content",
|
|
7228
|
+
"text": ";"
|
|
7229
|
+
}
|
|
7230
|
+
],
|
|
7231
|
+
"isReadonly": false,
|
|
7232
|
+
"isOptional": true,
|
|
7233
|
+
"releaseTag": "Beta",
|
|
7234
|
+
"name": "custom",
|
|
7235
|
+
"propertyTypeTokenRange": {
|
|
7236
|
+
"startIndex": 1,
|
|
7237
|
+
"endIndex": 2
|
|
7238
|
+
}
|
|
7231
7239
|
},
|
|
7232
7240
|
{
|
|
7233
|
-
"kind": "
|
|
7234
|
-
"
|
|
7241
|
+
"kind": "PropertySignature",
|
|
7242
|
+
"canonicalReference": "@gcorevideo/player!PosterPluginSettings#showForNoOp:member",
|
|
7243
|
+
"docComment": "/**\n * Whether to show the poster image when the playback is noop (i.e., when there is no appropriate video playback engine for current media sources set or the media sources are not set at all)\n */\n",
|
|
7244
|
+
"excerptTokens": [
|
|
7245
|
+
{
|
|
7246
|
+
"kind": "Content",
|
|
7247
|
+
"text": "showForNoOp?: "
|
|
7248
|
+
},
|
|
7249
|
+
{
|
|
7250
|
+
"kind": "Content",
|
|
7251
|
+
"text": "boolean"
|
|
7252
|
+
},
|
|
7253
|
+
{
|
|
7254
|
+
"kind": "Content",
|
|
7255
|
+
"text": ";"
|
|
7256
|
+
}
|
|
7257
|
+
],
|
|
7258
|
+
"isReadonly": false,
|
|
7259
|
+
"isOptional": true,
|
|
7260
|
+
"releaseTag": "Beta",
|
|
7261
|
+
"name": "showForNoOp",
|
|
7262
|
+
"propertyTypeTokenRange": {
|
|
7263
|
+
"startIndex": 1,
|
|
7264
|
+
"endIndex": 2
|
|
7265
|
+
}
|
|
7235
7266
|
},
|
|
7236
7267
|
{
|
|
7237
|
-
"kind": "
|
|
7238
|
-
"
|
|
7268
|
+
"kind": "PropertySignature",
|
|
7269
|
+
"canonicalReference": "@gcorevideo/player!PosterPluginSettings#showOnVideoEnd:member",
|
|
7270
|
+
"docComment": "/**\n * Whether to show the poster after playback has ended, by default `true`\n */\n",
|
|
7271
|
+
"excerptTokens": [
|
|
7272
|
+
{
|
|
7273
|
+
"kind": "Content",
|
|
7274
|
+
"text": "showOnVideoEnd?: "
|
|
7275
|
+
},
|
|
7276
|
+
{
|
|
7277
|
+
"kind": "Content",
|
|
7278
|
+
"text": "boolean"
|
|
7279
|
+
},
|
|
7280
|
+
{
|
|
7281
|
+
"kind": "Content",
|
|
7282
|
+
"text": ";"
|
|
7283
|
+
}
|
|
7284
|
+
],
|
|
7285
|
+
"isReadonly": false,
|
|
7286
|
+
"isOptional": true,
|
|
7287
|
+
"releaseTag": "Beta",
|
|
7288
|
+
"name": "showOnVideoEnd",
|
|
7289
|
+
"propertyTypeTokenRange": {
|
|
7290
|
+
"startIndex": 1,
|
|
7291
|
+
"endIndex": 2
|
|
7292
|
+
}
|
|
7293
|
+
},
|
|
7294
|
+
{
|
|
7295
|
+
"kind": "PropertySignature",
|
|
7296
|
+
"canonicalReference": "@gcorevideo/player!PosterPluginSettings#url:member",
|
|
7297
|
+
"docComment": "/**\n * Poster image URL\n */\n",
|
|
7298
|
+
"excerptTokens": [
|
|
7299
|
+
{
|
|
7300
|
+
"kind": "Content",
|
|
7301
|
+
"text": "url?: "
|
|
7302
|
+
},
|
|
7303
|
+
{
|
|
7304
|
+
"kind": "Content",
|
|
7305
|
+
"text": "string"
|
|
7306
|
+
},
|
|
7307
|
+
{
|
|
7308
|
+
"kind": "Content",
|
|
7309
|
+
"text": ";"
|
|
7310
|
+
}
|
|
7311
|
+
],
|
|
7312
|
+
"isReadonly": false,
|
|
7313
|
+
"isOptional": true,
|
|
7314
|
+
"releaseTag": "Beta",
|
|
7315
|
+
"name": "url",
|
|
7316
|
+
"propertyTypeTokenRange": {
|
|
7317
|
+
"startIndex": 1,
|
|
7318
|
+
"endIndex": 2
|
|
7319
|
+
}
|
|
7239
7320
|
}
|
|
7240
7321
|
],
|
|
7241
|
-
"
|
|
7242
|
-
"releaseTag": "Public",
|
|
7243
|
-
"name": "PosterPluginSettings",
|
|
7244
|
-
"typeTokenRange": {
|
|
7245
|
-
"startIndex": 1,
|
|
7246
|
-
"endIndex": 2
|
|
7247
|
-
}
|
|
7322
|
+
"extendsTokenRanges": []
|
|
7248
7323
|
},
|
|
7249
7324
|
{
|
|
7250
7325
|
"kind": "Interface",
|