@gcorevideo/player 2.23.3 → 2.24.1

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.
Files changed (38) hide show
  1. package/dist/core.js +1 -1
  2. package/dist/index.css +630 -630
  3. package/dist/index.js +116 -4
  4. package/dist/player.d.ts +52 -4
  5. package/docs/api/player.cmcdconfig._constructor_.md +50 -0
  6. package/docs/api/player.cmcdconfig.bindevents.md +19 -0
  7. package/docs/api/player.cmcdconfig.exportids.md +21 -0
  8. package/docs/api/player.cmcdconfig.md +191 -0
  9. package/docs/api/player.cmcdconfig.name.md +15 -0
  10. package/docs/api/player.cmcdconfig.supportedversion.md +14 -0
  11. package/docs/api/player.cmcdconfig.version.md +14 -0
  12. package/docs/api/player.cmcdconfigpluginsettings.md +18 -0
  13. package/docs/api/player.md +22 -0
  14. package/lib/index.plugins.d.ts +1 -0
  15. package/lib/index.plugins.d.ts.map +1 -1
  16. package/lib/index.plugins.js +1 -0
  17. package/lib/plugins/big-mute-button/BigMuteButton.d.ts +1 -1
  18. package/lib/plugins/big-mute-button/BigMuteButton.d.ts.map +1 -1
  19. package/lib/plugins/big-mute-button/BigMuteButton.js +3 -2
  20. package/lib/plugins/cmcd-config/CmcdConfig.d.ts +45 -0
  21. package/lib/plugins/cmcd-config/CmcdConfig.d.ts.map +1 -0
  22. package/lib/plugins/cmcd-config/CmcdConfig.js +110 -0
  23. package/lib/plugins/cmcd-config/utils.d.ts +2 -0
  24. package/lib/plugins/cmcd-config/utils.d.ts.map +1 -0
  25. package/lib/plugins/cmcd-config/utils.js +3 -0
  26. package/lib/testUtils.d.ts +5 -1
  27. package/lib/testUtils.d.ts.map +1 -1
  28. package/lib/testUtils.js +4 -2
  29. package/package.json +1 -1
  30. package/src/index.plugins.ts +1 -0
  31. package/src/plugins/big-mute-button/BigMuteButton.ts +3 -2
  32. package/src/plugins/cmcd-config/CmcdConfig.ts +148 -0
  33. package/src/plugins/cmcd-config/__tests__/CmcdConfig.test.ts +174 -0
  34. package/src/plugins/cmcd-config/utils.ts +3 -0
  35. package/src/plugins/media-control/__tests__/MediaControl.test.ts +4 -3
  36. package/src/testUtils.ts +4 -2
  37. package/temp/player.api.json +243 -0
  38. package/tsconfig.tsbuildinfo +1 -1
@@ -1605,6 +1605,249 @@
1605
1605
  "endIndex": 2
1606
1606
  }
1607
1607
  },
1608
+ {
1609
+ "kind": "Class",
1610
+ "canonicalReference": "@gcorevideo/player!CmcdConfig:class",
1611
+ "docComment": "/**\n * A `PLUGIN` that configures CMCD for playback\n *\n * @remarks\n *\n * Configuration options `cmcd`: {@link CmcdConfigPluginSettings}\n *\n * @beta\n */\n",
1612
+ "excerptTokens": [
1613
+ {
1614
+ "kind": "Content",
1615
+ "text": "export declare class CmcdConfig extends "
1616
+ },
1617
+ {
1618
+ "kind": "Reference",
1619
+ "text": "CorePlugin",
1620
+ "canonicalReference": "@gcorevideo/player!~CorePlugin"
1621
+ },
1622
+ {
1623
+ "kind": "Content",
1624
+ "text": " "
1625
+ }
1626
+ ],
1627
+ "fileUrlPath": "src/plugins/cmcd-config/CmcdConfig.ts",
1628
+ "releaseTag": "Beta",
1629
+ "isAbstract": false,
1630
+ "name": "CmcdConfig",
1631
+ "preserveMemberOrder": false,
1632
+ "members": [
1633
+ {
1634
+ "kind": "Constructor",
1635
+ "canonicalReference": "@gcorevideo/player!CmcdConfig:constructor(1)",
1636
+ "docComment": "/**\n * Constructs a new instance of the `CmcdConfig` class\n */\n",
1637
+ "excerptTokens": [
1638
+ {
1639
+ "kind": "Content",
1640
+ "text": "constructor(core: "
1641
+ },
1642
+ {
1643
+ "kind": "Reference",
1644
+ "text": "Core",
1645
+ "canonicalReference": "@clappr/core!default:class"
1646
+ },
1647
+ {
1648
+ "kind": "Content",
1649
+ "text": ");"
1650
+ }
1651
+ ],
1652
+ "releaseTag": "Beta",
1653
+ "isProtected": false,
1654
+ "overloadIndex": 1,
1655
+ "parameters": [
1656
+ {
1657
+ "parameterName": "core",
1658
+ "parameterTypeTokenRange": {
1659
+ "startIndex": 1,
1660
+ "endIndex": 2
1661
+ },
1662
+ "isOptional": false
1663
+ }
1664
+ ]
1665
+ },
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
+ {
1698
+ "kind": "Method",
1699
+ "canonicalReference": "@gcorevideo/player!CmcdConfig#exportIds:member(1)",
1700
+ "docComment": "",
1701
+ "excerptTokens": [
1702
+ {
1703
+ "kind": "Content",
1704
+ "text": "exportIds(): "
1705
+ },
1706
+ {
1707
+ "kind": "Content",
1708
+ "text": "{\n sid: string;\n cid: string;\n }"
1709
+ },
1710
+ {
1711
+ "kind": "Content",
1712
+ "text": ";"
1713
+ }
1714
+ ],
1715
+ "isStatic": false,
1716
+ "returnTypeTokenRange": {
1717
+ "startIndex": 1,
1718
+ "endIndex": 2
1719
+ },
1720
+ "releaseTag": "Beta",
1721
+ "isProtected": false,
1722
+ "overloadIndex": 1,
1723
+ "parameters": [],
1724
+ "isOptional": false,
1725
+ "isAbstract": false,
1726
+ "name": "exportIds"
1727
+ },
1728
+ {
1729
+ "kind": "Property",
1730
+ "canonicalReference": "@gcorevideo/player!CmcdConfig#name:member",
1731
+ "docComment": "/**\n * @inheritdocs\n */\n",
1732
+ "excerptTokens": [
1733
+ {
1734
+ "kind": "Content",
1735
+ "text": "get name(): "
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
+ },
1758
+ {
1759
+ "kind": "Property",
1760
+ "canonicalReference": "@gcorevideo/player!CmcdConfig#supportedVersion:member",
1761
+ "docComment": "",
1762
+ "excerptTokens": [
1763
+ {
1764
+ "kind": "Content",
1765
+ "text": "get supportedVersion(): "
1766
+ },
1767
+ {
1768
+ "kind": "Content",
1769
+ "text": "string"
1770
+ },
1771
+ {
1772
+ "kind": "Content",
1773
+ "text": ";"
1774
+ }
1775
+ ],
1776
+ "isReadonly": true,
1777
+ "isOptional": false,
1778
+ "releaseTag": "Beta",
1779
+ "name": "supportedVersion",
1780
+ "propertyTypeTokenRange": {
1781
+ "startIndex": 1,
1782
+ "endIndex": 2
1783
+ },
1784
+ "isStatic": false,
1785
+ "isProtected": false,
1786
+ "isAbstract": false
1787
+ },
1788
+ {
1789
+ "kind": "Property",
1790
+ "canonicalReference": "@gcorevideo/player!CmcdConfig#version:member",
1791
+ "docComment": "",
1792
+ "excerptTokens": [
1793
+ {
1794
+ "kind": "Content",
1795
+ "text": "get version(): "
1796
+ },
1797
+ {
1798
+ "kind": "Content",
1799
+ "text": "string"
1800
+ },
1801
+ {
1802
+ "kind": "Content",
1803
+ "text": ";"
1804
+ }
1805
+ ],
1806
+ "isReadonly": true,
1807
+ "isOptional": false,
1808
+ "releaseTag": "Beta",
1809
+ "name": "version",
1810
+ "propertyTypeTokenRange": {
1811
+ "startIndex": 1,
1812
+ "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": ";"
1841
+ }
1842
+ ],
1843
+ "fileUrlPath": "src/plugins/cmcd-config/CmcdConfig.ts",
1844
+ "releaseTag": "Beta",
1845
+ "name": "CmcdConfigPluginSettings",
1846
+ "typeTokenRange": {
1847
+ "startIndex": 1,
1848
+ "endIndex": 2
1849
+ }
1850
+ },
1608
1851
  {
1609
1852
  "kind": "TypeAlias",
1610
1853
  "canonicalReference": "@gcorevideo/player!ContainerPluginConstructor:type",