@flowplayer/player 3.30.0 → 3.30.1-rc.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 (51) hide show
  1. package/core.js +1 -1
  2. package/default.js +1 -1
  3. package/embed.js +2 -2
  4. package/index.d.ts +17 -0
  5. package/package.json +1 -1
  6. package/plugins/ads.d.ts +17 -0
  7. package/plugins/ads.js +1 -1
  8. package/plugins/airplay.d.ts +17 -0
  9. package/plugins/analytics.d.ts +17 -0
  10. package/plugins/analytics.js +1 -1
  11. package/plugins/asel.d.ts +17 -0
  12. package/plugins/audio.d.ts +17 -0
  13. package/plugins/chapters.d.ts +24 -0
  14. package/plugins/chromecast.d.ts +17 -0
  15. package/plugins/comscore.d.ts +17 -0
  16. package/plugins/consent.d.ts +17 -0
  17. package/plugins/context-menu.d.ts +17 -0
  18. package/plugins/cuepoints.d.ts +17 -0
  19. package/plugins/dash.d.ts +17 -0
  20. package/plugins/drm.d.ts +17 -0
  21. package/plugins/endscreen.d.ts +17 -0
  22. package/plugins/fas.d.ts +17 -0
  23. package/plugins/float-on-scroll.d.ts +17 -0
  24. package/plugins/ga4.d.ts +17 -0
  25. package/plugins/ga4.js +1 -1
  26. package/plugins/gemius.d.ts +17 -0
  27. package/plugins/google-analytics.d.ts +17 -0
  28. package/plugins/hls.d.ts +17 -0
  29. package/plugins/hls.js +1 -1
  30. package/plugins/id3.d.ts +17 -0
  31. package/plugins/iframe.d.ts +17 -0
  32. package/plugins/keyboard.d.ts +17 -0
  33. package/plugins/media-session.d.ts +17 -0
  34. package/plugins/message.d.ts +17 -0
  35. package/plugins/ovp.d.ts +17 -0
  36. package/plugins/playlist.d.ts +17 -0
  37. package/plugins/preview.d.ts +17 -0
  38. package/plugins/qsel.d.ts +17 -0
  39. package/plugins/qul.d.ts +17 -0
  40. package/plugins/rts.d.ts +17 -0
  41. package/plugins/rts.js +3 -3
  42. package/plugins/share.d.ts +17 -0
  43. package/plugins/speed.d.ts +17 -0
  44. package/plugins/ssai.d.ts +17 -0
  45. package/plugins/ssai.js +1 -1
  46. package/plugins/subtitles.d.ts +17 -0
  47. package/plugins/thumbnails.d.ts +17 -0
  48. package/plugins/tizen.d.ts +17 -0
  49. package/plugins/vtsel.d.ts +17 -0
  50. package/plugins/webos.d.ts +17 -0
  51. package/util/loader.d.ts +17 -0
@@ -76,6 +76,13 @@ CAN_PLAY = "canplay";
76
76
  declare const Chapters: PluginCtor<NoInfer<Config>, NoInfer<Player>>;
77
77
  export default Chapters;
78
78
 
79
+ /* Excluded from this release type: ChaptersConfig */
80
+
81
+ declare type ChaptersConfigurationObject = {
82
+ src: string;
83
+ lang?: string;
84
+ };
85
+
79
86
  /**
80
87
  * @public
81
88
  */
@@ -398,6 +405,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
398
405
 
399
406
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
400
407
 
408
+ declare const FEATURE_USAGE = "flowplayer:feature";
409
+
410
+ /* Excluded from this release type: FeatureUsageEventDetail */
411
+
401
412
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
402
413
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
403
414
  type: string;
@@ -1248,6 +1259,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1248
1259
  /* Excluded from this release type: "seek:cancel" */
1249
1260
  /* Excluded from this release type: "plugin:registered" */
1250
1261
  /* Excluded from this release type: intersectionchange */
1262
+ /* Excluded from this release type: "flowplayer:feature" */
1251
1263
  /* Excluded from this release type: beforeplay */
1252
1264
  /* Excluded from this release type: beforepause */
1253
1265
  /* Excluded from this release type: state */
@@ -1325,6 +1337,7 @@ declare type PlayerCustomEventsOverloads = {
1325
1337
  /* Excluded from this release type: on */
1326
1338
  /* Excluded from this release type: on */
1327
1339
  /* Excluded from this release type: on */
1340
+ /* Excluded from this release type: on */
1328
1341
  /**
1329
1342
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1330
1343
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1656,6 +1669,13 @@ declare const RetryMap: {
1656
1669
 
1657
1670
  declare const RTL = "is-rtl";
1658
1671
 
1672
+ declare const SampleRate: {
1673
+ readonly None: 1;
1674
+ readonly Low: 0.1;
1675
+ readonly Medium: 0.01;
1676
+ readonly High: 0.001;
1677
+ };
1678
+
1659
1679
  /**
1660
1680
  * @public
1661
1681
  */
@@ -1880,6 +1900,8 @@ TOUCH_START = "touchstart";
1880
1900
 
1881
1901
  declare const TOUCHED = "is-touched";
1882
1902
 
1903
+ declare type TSampleRate = typeof SampleRate;
1904
+
1883
1905
  declare const TV = "is-tv";
1884
1906
 
1885
1907
  /**
@@ -1887,6 +1909,8 @@ declare const TV = "is-tv";
1887
1909
  */
1888
1910
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1889
1911
 
1912
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1913
+
1890
1914
  /**
1891
1915
  * @public
1892
1916
  * emitted when a video track is selected
@@ -459,6 +459,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
459
459
 
460
460
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
461
461
 
462
+ declare const FEATURE_USAGE = "flowplayer:feature";
463
+
464
+ /* Excluded from this release type: FeatureUsageEventDetail */
465
+
462
466
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
463
467
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
464
468
  type: string;
@@ -1311,6 +1315,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1311
1315
  /* Excluded from this release type: "seek:cancel" */
1312
1316
  /* Excluded from this release type: "plugin:registered" */
1313
1317
  /* Excluded from this release type: intersectionchange */
1318
+ /* Excluded from this release type: "flowplayer:feature" */
1314
1319
  /* Excluded from this release type: beforeplay */
1315
1320
  /* Excluded from this release type: beforepause */
1316
1321
  /* Excluded from this release type: state */
@@ -1388,6 +1393,7 @@ declare type PlayerCustomEventsOverloads = {
1388
1393
  /* Excluded from this release type: on */
1389
1394
  /* Excluded from this release type: on */
1390
1395
  /* Excluded from this release type: on */
1396
+ /* Excluded from this release type: on */
1391
1397
  /**
1392
1398
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1393
1399
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1719,6 +1725,13 @@ declare const RetryMap: {
1719
1725
 
1720
1726
  declare const RTL = "is-rtl";
1721
1727
 
1728
+ declare const SampleRate: {
1729
+ readonly None: 1;
1730
+ readonly Low: 0.1;
1731
+ readonly Medium: 0.01;
1732
+ readonly High: 0.001;
1733
+ };
1734
+
1722
1735
  /**
1723
1736
  * @public
1724
1737
  */
@@ -1948,6 +1961,8 @@ TOUCH_START = "touchstart";
1948
1961
 
1949
1962
  declare const TOUCHED = "is-touched";
1950
1963
 
1964
+ declare type TSampleRate = typeof SampleRate;
1965
+
1951
1966
  declare const TV = "is-tv";
1952
1967
 
1953
1968
  /**
@@ -1955,6 +1970,8 @@ declare const TV = "is-tv";
1955
1970
  */
1956
1971
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1957
1972
 
1973
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1974
+
1958
1975
  /**
1959
1976
  * @public
1960
1977
  * emitted when a video track is selected
@@ -396,6 +396,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
396
396
 
397
397
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
398
398
 
399
+ declare const FEATURE_USAGE = "flowplayer:feature";
400
+
401
+ /* Excluded from this release type: FeatureUsageEventDetail */
402
+
399
403
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
400
404
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
401
405
  type: string;
@@ -1246,6 +1250,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1246
1250
  /* Excluded from this release type: "seek:cancel" */
1247
1251
  /* Excluded from this release type: "plugin:registered" */
1248
1252
  /* Excluded from this release type: intersectionchange */
1253
+ /* Excluded from this release type: "flowplayer:feature" */
1249
1254
  /* Excluded from this release type: beforeplay */
1250
1255
  /* Excluded from this release type: beforepause */
1251
1256
  /* Excluded from this release type: state */
@@ -1323,6 +1328,7 @@ declare type PlayerCustomEventsOverloads = {
1323
1328
  /* Excluded from this release type: on */
1324
1329
  /* Excluded from this release type: on */
1325
1330
  /* Excluded from this release type: on */
1331
+ /* Excluded from this release type: on */
1326
1332
  /**
1327
1333
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1328
1334
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1654,6 +1660,13 @@ declare const RetryMap: {
1654
1660
 
1655
1661
  declare const RTL = "is-rtl";
1656
1662
 
1663
+ declare const SampleRate: {
1664
+ readonly None: 1;
1665
+ readonly Low: 0.1;
1666
+ readonly Medium: 0.01;
1667
+ readonly High: 0.001;
1668
+ };
1669
+
1657
1670
  /**
1658
1671
  * @public
1659
1672
  */
@@ -1878,6 +1891,8 @@ TOUCH_START = "touchstart";
1878
1891
 
1879
1892
  declare const TOUCHED = "is-touched";
1880
1893
 
1894
+ declare type TSampleRate = typeof SampleRate;
1895
+
1881
1896
  declare const TV = "is-tv";
1882
1897
 
1883
1898
  /**
@@ -1885,6 +1900,8 @@ declare const TV = "is-tv";
1885
1900
  */
1886
1901
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1887
1902
 
1903
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1904
+
1888
1905
  /**
1889
1906
  * @public
1890
1907
  * emitted when a video track is selected
@@ -422,6 +422,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
422
422
 
423
423
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
424
424
 
425
+ declare const FEATURE_USAGE = "flowplayer:feature";
426
+
427
+ /* Excluded from this release type: FeatureUsageEventDetail */
428
+
425
429
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
426
430
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
427
431
  type: string;
@@ -1272,6 +1276,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1272
1276
  /* Excluded from this release type: "seek:cancel" */
1273
1277
  /* Excluded from this release type: "plugin:registered" */
1274
1278
  /* Excluded from this release type: intersectionchange */
1279
+ /* Excluded from this release type: "flowplayer:feature" */
1275
1280
  /* Excluded from this release type: beforeplay */
1276
1281
  /* Excluded from this release type: beforepause */
1277
1282
  /* Excluded from this release type: state */
@@ -1349,6 +1354,7 @@ declare type PlayerCustomEventsOverloads = {
1349
1354
  /* Excluded from this release type: on */
1350
1355
  /* Excluded from this release type: on */
1351
1356
  /* Excluded from this release type: on */
1357
+ /* Excluded from this release type: on */
1352
1358
  /**
1353
1359
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1354
1360
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1680,6 +1686,13 @@ declare const RetryMap: {
1680
1686
 
1681
1687
  declare const RTL = "is-rtl";
1682
1688
 
1689
+ declare const SampleRate: {
1690
+ readonly None: 1;
1691
+ readonly Low: 0.1;
1692
+ readonly Medium: 0.01;
1693
+ readonly High: 0.001;
1694
+ };
1695
+
1683
1696
  /**
1684
1697
  * @public
1685
1698
  */
@@ -1926,6 +1939,8 @@ declare enum TrackingConfig {
1926
1939
  NONE = 2
1927
1940
  }
1928
1941
 
1942
+ declare type TSampleRate = typeof SampleRate;
1943
+
1929
1944
  declare const TV = "is-tv";
1930
1945
 
1931
1946
  /**
@@ -1933,6 +1948,8 @@ declare const TV = "is-tv";
1933
1948
  */
1934
1949
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1935
1950
 
1951
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1952
+
1936
1953
  /**
1937
1954
  * @public
1938
1955
  * emitted when a video track is selected
@@ -403,6 +403,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
403
403
 
404
404
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
405
405
 
406
+ declare const FEATURE_USAGE = "flowplayer:feature";
407
+
408
+ /* Excluded from this release type: FeatureUsageEventDetail */
409
+
406
410
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
407
411
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
408
412
  type: string;
@@ -1260,6 +1264,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1260
1264
  /* Excluded from this release type: "seek:cancel" */
1261
1265
  /* Excluded from this release type: "plugin:registered" */
1262
1266
  /* Excluded from this release type: intersectionchange */
1267
+ /* Excluded from this release type: "flowplayer:feature" */
1263
1268
  /* Excluded from this release type: beforeplay */
1264
1269
  /* Excluded from this release type: beforepause */
1265
1270
  /* Excluded from this release type: state */
@@ -1337,6 +1342,7 @@ declare type PlayerCustomEventsOverloads = {
1337
1342
  /* Excluded from this release type: on */
1338
1343
  /* Excluded from this release type: on */
1339
1344
  /* Excluded from this release type: on */
1345
+ /* Excluded from this release type: on */
1340
1346
  /**
1341
1347
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1342
1348
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1668,6 +1674,13 @@ declare const RetryMap: {
1668
1674
 
1669
1675
  declare const RTL = "is-rtl";
1670
1676
 
1677
+ declare const SampleRate: {
1678
+ readonly None: 1;
1679
+ readonly Low: 0.1;
1680
+ readonly Medium: 0.01;
1681
+ readonly High: 0.001;
1682
+ };
1683
+
1671
1684
  /**
1672
1685
  * @public
1673
1686
  */
@@ -1892,6 +1905,8 @@ TOUCH_START = "touchstart";
1892
1905
 
1893
1906
  declare const TOUCHED = "is-touched";
1894
1907
 
1908
+ declare type TSampleRate = typeof SampleRate;
1909
+
1895
1910
  declare const TV = "is-tv";
1896
1911
 
1897
1912
  /**
@@ -1899,6 +1914,8 @@ declare const TV = "is-tv";
1899
1914
  */
1900
1915
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1901
1916
 
1917
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1918
+
1902
1919
  /**
1903
1920
  * @public
1904
1921
  * emitted when a video track is selected
@@ -520,6 +520,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
520
520
 
521
521
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
522
522
 
523
+ declare const FEATURE_USAGE = "flowplayer:feature";
524
+
525
+ /* Excluded from this release type: FeatureUsageEventDetail */
526
+
523
527
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
524
528
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
525
529
  type: string;
@@ -1370,6 +1374,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1370
1374
  /* Excluded from this release type: "seek:cancel" */
1371
1375
  /* Excluded from this release type: "plugin:registered" */
1372
1376
  /* Excluded from this release type: intersectionchange */
1377
+ /* Excluded from this release type: "flowplayer:feature" */
1373
1378
  /* Excluded from this release type: beforeplay */
1374
1379
  /* Excluded from this release type: beforepause */
1375
1380
  /* Excluded from this release type: state */
@@ -1447,6 +1452,7 @@ declare type PlayerCustomEventsOverloads = {
1447
1452
  /* Excluded from this release type: on */
1448
1453
  /* Excluded from this release type: on */
1449
1454
  /* Excluded from this release type: on */
1455
+ /* Excluded from this release type: on */
1450
1456
  /**
1451
1457
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1452
1458
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1778,6 +1784,13 @@ declare const RetryMap: {
1778
1784
 
1779
1785
  declare const RTL = "is-rtl";
1780
1786
 
1787
+ declare const SampleRate: {
1788
+ readonly None: 1;
1789
+ readonly Low: 0.1;
1790
+ readonly Medium: 0.01;
1791
+ readonly High: 0.001;
1792
+ };
1793
+
1781
1794
  /**
1782
1795
  * @public
1783
1796
  */
@@ -2002,6 +2015,8 @@ TOUCH_START = "touchstart";
2002
2015
 
2003
2016
  declare const TOUCHED = "is-touched";
2004
2017
 
2018
+ declare type TSampleRate = typeof SampleRate;
2019
+
2005
2020
  declare const TV = "is-tv";
2006
2021
 
2007
2022
  /**
@@ -2009,6 +2024,8 @@ declare const TV = "is-tv";
2009
2024
  */
2010
2025
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
2011
2026
 
2027
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
2028
+
2012
2029
  /**
2013
2030
  * @public
2014
2031
  * emitted when a video track is selected
package/plugins/dash.d.ts CHANGED
@@ -457,6 +457,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
457
457
 
458
458
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
459
459
 
460
+ declare const FEATURE_USAGE = "flowplayer:feature";
461
+
462
+ /* Excluded from this release type: FeatureUsageEventDetail */
463
+
460
464
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
461
465
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
462
466
  type: string;
@@ -1307,6 +1311,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1307
1311
  /* Excluded from this release type: "seek:cancel" */
1308
1312
  /* Excluded from this release type: "plugin:registered" */
1309
1313
  /* Excluded from this release type: intersectionchange */
1314
+ /* Excluded from this release type: "flowplayer:feature" */
1310
1315
  /* Excluded from this release type: beforeplay */
1311
1316
  /* Excluded from this release type: beforepause */
1312
1317
  /* Excluded from this release type: state */
@@ -1384,6 +1389,7 @@ declare type PlayerCustomEventsOverloads = {
1384
1389
  /* Excluded from this release type: on */
1385
1390
  /* Excluded from this release type: on */
1386
1391
  /* Excluded from this release type: on */
1392
+ /* Excluded from this release type: on */
1387
1393
  /**
1388
1394
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1389
1395
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1715,6 +1721,13 @@ declare const RetryMap: {
1715
1721
 
1716
1722
  declare const RTL = "is-rtl";
1717
1723
 
1724
+ declare const SampleRate: {
1725
+ readonly None: 1;
1726
+ readonly Low: 0.1;
1727
+ readonly Medium: 0.01;
1728
+ readonly High: 0.001;
1729
+ };
1730
+
1718
1731
  /**
1719
1732
  * @public
1720
1733
  */
@@ -1939,6 +1952,8 @@ TOUCH_START = "touchstart";
1939
1952
 
1940
1953
  declare const TOUCHED = "is-touched";
1941
1954
 
1955
+ declare type TSampleRate = typeof SampleRate;
1956
+
1942
1957
  declare const TV = "is-tv";
1943
1958
 
1944
1959
  /**
@@ -1946,6 +1961,8 @@ declare const TV = "is-tv";
1946
1961
  */
1947
1962
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1948
1963
 
1964
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1965
+
1949
1966
  /**
1950
1967
  * @public
1951
1968
  * emitted when a video track is selected
package/plugins/drm.d.ts CHANGED
@@ -497,6 +497,10 @@ declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"
497
497
  */
498
498
  declare const FAIRPLAY = "com.apple.fps.1_0";
499
499
 
500
+ declare const FEATURE_USAGE = "flowplayer:feature";
501
+
502
+ /* Excluded from this release type: FeatureUsageEventDetail */
503
+
500
504
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
501
505
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
502
506
  type: string;
@@ -1355,6 +1359,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1355
1359
  /* Excluded from this release type: "seek:cancel" */
1356
1360
  /* Excluded from this release type: "plugin:registered" */
1357
1361
  /* Excluded from this release type: intersectionchange */
1362
+ /* Excluded from this release type: "flowplayer:feature" */
1358
1363
  /* Excluded from this release type: beforeplay */
1359
1364
  /* Excluded from this release type: beforepause */
1360
1365
  /* Excluded from this release type: state */
@@ -1432,6 +1437,7 @@ declare type PlayerCustomEventsOverloads = {
1432
1437
  /* Excluded from this release type: on */
1433
1438
  /* Excluded from this release type: on */
1434
1439
  /* Excluded from this release type: on */
1440
+ /* Excluded from this release type: on */
1435
1441
  /**
1436
1442
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1437
1443
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1772,6 +1778,13 @@ declare const RetryMap: {
1772
1778
 
1773
1779
  declare const RTL = "is-rtl";
1774
1780
 
1781
+ declare const SampleRate: {
1782
+ readonly None: 1;
1783
+ readonly Low: 0.1;
1784
+ readonly Medium: 0.01;
1785
+ readonly High: 0.001;
1786
+ };
1787
+
1775
1788
  /**
1776
1789
  * @public
1777
1790
  */
@@ -1996,6 +2009,8 @@ TOUCH_START = "touchstart";
1996
2009
 
1997
2010
  declare const TOUCHED = "is-touched";
1998
2011
 
2012
+ declare type TSampleRate = typeof SampleRate;
2013
+
1999
2014
  declare const TV = "is-tv";
2000
2015
 
2001
2016
  /**
@@ -2003,6 +2018,8 @@ declare const TV = "is-tv";
2003
2018
  */
2004
2019
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
2005
2020
 
2021
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
2022
+
2006
2023
  declare const VENDOR = "vendor";
2007
2024
 
2008
2025
  /**
@@ -403,6 +403,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
403
403
 
404
404
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
405
405
 
406
+ declare const FEATURE_USAGE = "flowplayer:feature";
407
+
408
+ /* Excluded from this release type: FeatureUsageEventDetail */
409
+
406
410
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
407
411
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
408
412
  type: string;
@@ -1253,6 +1257,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1253
1257
  /* Excluded from this release type: "seek:cancel" */
1254
1258
  /* Excluded from this release type: "plugin:registered" */
1255
1259
  /* Excluded from this release type: intersectionchange */
1260
+ /* Excluded from this release type: "flowplayer:feature" */
1256
1261
  /* Excluded from this release type: beforeplay */
1257
1262
  /* Excluded from this release type: beforepause */
1258
1263
  /* Excluded from this release type: state */
@@ -1330,6 +1335,7 @@ declare type PlayerCustomEventsOverloads = {
1330
1335
  /* Excluded from this release type: on */
1331
1336
  /* Excluded from this release type: on */
1332
1337
  /* Excluded from this release type: on */
1338
+ /* Excluded from this release type: on */
1333
1339
  /**
1334
1340
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1335
1341
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1673,6 +1679,13 @@ declare const RetryMap: {
1673
1679
 
1674
1680
  declare const RTL = "is-rtl";
1675
1681
 
1682
+ declare const SampleRate: {
1683
+ readonly None: 1;
1684
+ readonly Low: 0.1;
1685
+ readonly Medium: 0.01;
1686
+ readonly High: 0.001;
1687
+ };
1688
+
1676
1689
  /**
1677
1690
  * @public
1678
1691
  */
@@ -1897,6 +1910,8 @@ TOUCH_START = "touchstart";
1897
1910
 
1898
1911
  declare const TOUCHED = "is-touched";
1899
1912
 
1913
+ declare type TSampleRate = typeof SampleRate;
1914
+
1900
1915
  declare const TV = "is-tv";
1901
1916
 
1902
1917
  /**
@@ -1904,6 +1919,8 @@ declare const TV = "is-tv";
1904
1919
  */
1905
1920
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1906
1921
 
1922
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1923
+
1907
1924
  /**
1908
1925
  * @public
1909
1926
  * emitted when a video track is selected
package/plugins/fas.d.ts CHANGED
@@ -450,6 +450,10 @@ export declare type FASPlayer = PlayerWith<{
450
450
  fas: FASAPI;
451
451
  }>;
452
452
 
453
+ declare const FEATURE_USAGE = "flowplayer:feature";
454
+
455
+ /* Excluded from this release type: FeatureUsageEventDetail */
456
+
453
457
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
454
458
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
455
459
  type: string;
@@ -1300,6 +1304,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1300
1304
  /* Excluded from this release type: "seek:cancel" */
1301
1305
  /* Excluded from this release type: "plugin:registered" */
1302
1306
  /* Excluded from this release type: intersectionchange */
1307
+ /* Excluded from this release type: "flowplayer:feature" */
1303
1308
  /* Excluded from this release type: beforeplay */
1304
1309
  /* Excluded from this release type: beforepause */
1305
1310
  /* Excluded from this release type: state */
@@ -1377,6 +1382,7 @@ declare type PlayerCustomEventsOverloads = {
1377
1382
  /* Excluded from this release type: on */
1378
1383
  /* Excluded from this release type: on */
1379
1384
  /* Excluded from this release type: on */
1385
+ /* Excluded from this release type: on */
1380
1386
  /**
1381
1387
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1382
1388
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1708,6 +1714,13 @@ declare const RetryMap: {
1708
1714
 
1709
1715
  declare const RTL = "is-rtl";
1710
1716
 
1717
+ declare const SampleRate: {
1718
+ readonly None: 1;
1719
+ readonly Low: 0.1;
1720
+ readonly Medium: 0.01;
1721
+ readonly High: 0.001;
1722
+ };
1723
+
1711
1724
  /**
1712
1725
  * @public
1713
1726
  */
@@ -1932,6 +1945,8 @@ TOUCH_START = "touchstart";
1932
1945
 
1933
1946
  declare const TOUCHED = "is-touched";
1934
1947
 
1948
+ declare type TSampleRate = typeof SampleRate;
1949
+
1935
1950
  declare const TV = "is-tv";
1936
1951
 
1937
1952
  /**
@@ -1939,6 +1954,8 @@ declare const TV = "is-tv";
1939
1954
  */
1940
1955
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1941
1956
 
1957
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1958
+
1942
1959
  /**
1943
1960
  * @public
1944
1961
  * emitted when a video track is selected
@@ -403,6 +403,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
403
403
 
404
404
  declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
405
405
 
406
+ declare const FEATURE_USAGE = "flowplayer:feature";
407
+
408
+ /* Excluded from this release type: FeatureUsageEventDetail */
409
+
406
410
  declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
407
411
  [Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
408
412
  type: string;
@@ -1324,6 +1328,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1324
1328
  /* Excluded from this release type: "seek:cancel" */
1325
1329
  /* Excluded from this release type: "plugin:registered" */
1326
1330
  /* Excluded from this release type: intersectionchange */
1331
+ /* Excluded from this release type: "flowplayer:feature" */
1327
1332
  /* Excluded from this release type: beforeplay */
1328
1333
  /* Excluded from this release type: beforepause */
1329
1334
  /* Excluded from this release type: state */
@@ -1401,6 +1406,7 @@ declare type PlayerCustomEventsOverloads = {
1401
1406
  /* Excluded from this release type: on */
1402
1407
  /* Excluded from this release type: on */
1403
1408
  /* Excluded from this release type: on */
1409
+ /* Excluded from this release type: on */
1404
1410
  /**
1405
1411
  * TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
1406
1412
  * https://wowzamedia.jira.com/browse/PLAY-653
@@ -1742,6 +1748,13 @@ declare const RetryMap: {
1742
1748
 
1743
1749
  declare const RTL = "is-rtl";
1744
1750
 
1751
+ declare const SampleRate: {
1752
+ readonly None: 1;
1753
+ readonly Low: 0.1;
1754
+ readonly Medium: 0.01;
1755
+ readonly High: 0.001;
1756
+ };
1757
+
1745
1758
  /**
1746
1759
  * @public
1747
1760
  */
@@ -1966,6 +1979,8 @@ TOUCH_START = "touchstart";
1966
1979
 
1967
1980
  declare const TOUCHED = "is-touched";
1968
1981
 
1982
+ declare type TSampleRate = typeof SampleRate;
1983
+
1969
1984
  declare const TV = "is-tv";
1970
1985
 
1971
1986
  /**
@@ -1973,6 +1988,8 @@ declare const TV = "is-tv";
1973
1988
  */
1974
1989
  declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
1975
1990
 
1991
+ declare type ValidSampleRate = TSampleRate[keyof TSampleRate];
1992
+
1976
1993
  /**
1977
1994
  * @public
1978
1995
  * emitted when a video track is selected