@flowplayer/player 3.30.0-rc → 3.30.1-rc
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/core.js +1 -1
- package/default.js +1 -1
- package/embed.js +2 -2
- package/index.d.ts +17 -0
- package/package.json +1 -1
- package/plugins/ads.d.ts +17 -0
- package/plugins/ads.js +1 -1
- package/plugins/airplay.d.ts +17 -0
- package/plugins/analytics.d.ts +17 -0
- package/plugins/analytics.js +1 -1
- package/plugins/asel.d.ts +17 -0
- package/plugins/audio.d.ts +17 -0
- package/plugins/chapters.d.ts +17 -0
- package/plugins/chromecast.d.ts +17 -0
- package/plugins/comscore.d.ts +17 -0
- package/plugins/consent.d.ts +17 -0
- package/plugins/context-menu.d.ts +17 -0
- package/plugins/cuepoints.d.ts +17 -0
- package/plugins/dash.d.ts +17 -0
- package/plugins/drm.d.ts +17 -0
- package/plugins/endscreen.d.ts +17 -0
- package/plugins/fas.d.ts +17 -0
- package/plugins/float-on-scroll.d.ts +17 -0
- package/plugins/ga4.d.ts +17 -0
- package/plugins/gemius.d.ts +17 -0
- package/plugins/google-analytics.d.ts +17 -0
- package/plugins/hls.d.ts +17 -0
- package/plugins/hls.js +1 -1
- package/plugins/id3.d.ts +17 -0
- package/plugins/iframe.d.ts +17 -0
- package/plugins/keyboard.d.ts +17 -0
- package/plugins/media-session.d.ts +17 -0
- package/plugins/message.d.ts +17 -0
- package/plugins/ovp.d.ts +17 -0
- package/plugins/playlist.d.ts +17 -0
- package/plugins/preview.d.ts +17 -0
- package/plugins/qsel.d.ts +17 -0
- package/plugins/qul.d.ts +17 -0
- package/plugins/rts.d.ts +17 -0
- package/plugins/rts.js +3 -3
- package/plugins/share.d.ts +17 -0
- package/plugins/speed.d.ts +17 -0
- package/plugins/ssai.d.ts +17 -0
- package/plugins/ssai.js +1 -1
- package/plugins/subtitles.d.ts +17 -0
- package/plugins/thumbnails.d.ts +17 -0
- package/plugins/tizen.d.ts +17 -0
- package/plugins/vtsel.d.ts +17 -0
- package/plugins/webos.d.ts +17 -0
- package/util/loader.d.ts +17 -0
package/plugins/webos.d.ts
CHANGED
|
@@ -390,6 +390,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
|
|
|
390
390
|
|
|
391
391
|
declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
|
|
392
392
|
|
|
393
|
+
declare const FEATURE_USAGE = "flowplayer:feature";
|
|
394
|
+
|
|
395
|
+
/* Excluded from this release type: FeatureUsageEventDetail */
|
|
396
|
+
|
|
393
397
|
declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
|
|
394
398
|
[Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
|
|
395
399
|
type: string;
|
|
@@ -1240,6 +1244,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
|
|
|
1240
1244
|
/* Excluded from this release type: "seek:cancel" */
|
|
1241
1245
|
/* Excluded from this release type: "plugin:registered" */
|
|
1242
1246
|
/* Excluded from this release type: intersectionchange */
|
|
1247
|
+
/* Excluded from this release type: "flowplayer:feature" */
|
|
1243
1248
|
/* Excluded from this release type: beforeplay */
|
|
1244
1249
|
/* Excluded from this release type: beforepause */
|
|
1245
1250
|
/* Excluded from this release type: state */
|
|
@@ -1317,6 +1322,7 @@ declare type PlayerCustomEventsOverloads = {
|
|
|
1317
1322
|
/* Excluded from this release type: on */
|
|
1318
1323
|
/* Excluded from this release type: on */
|
|
1319
1324
|
/* Excluded from this release type: on */
|
|
1325
|
+
/* Excluded from this release type: on */
|
|
1320
1326
|
/**
|
|
1321
1327
|
* TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
|
|
1322
1328
|
* https://wowzamedia.jira.com/browse/PLAY-653
|
|
@@ -1648,6 +1654,13 @@ declare const RetryMap: {
|
|
|
1648
1654
|
|
|
1649
1655
|
declare const RTL = "is-rtl";
|
|
1650
1656
|
|
|
1657
|
+
declare const SampleRate: {
|
|
1658
|
+
readonly None: 0;
|
|
1659
|
+
readonly Low: 0.1;
|
|
1660
|
+
readonly Medium: 0.01;
|
|
1661
|
+
readonly High: 0.001;
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1651
1664
|
/**
|
|
1652
1665
|
* @public
|
|
1653
1666
|
*/
|
|
@@ -1872,6 +1885,8 @@ TOUCH_START = "touchstart";
|
|
|
1872
1885
|
|
|
1873
1886
|
declare const TOUCHED = "is-touched";
|
|
1874
1887
|
|
|
1888
|
+
declare type TSampleRate = typeof SampleRate;
|
|
1889
|
+
|
|
1875
1890
|
declare const TV = "is-tv";
|
|
1876
1891
|
|
|
1877
1892
|
/**
|
|
@@ -1879,6 +1894,8 @@ declare const TV = "is-tv";
|
|
|
1879
1894
|
*/
|
|
1880
1895
|
declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
|
|
1881
1896
|
|
|
1897
|
+
declare type ValidSampleRates = TSampleRate[keyof TSampleRate];
|
|
1898
|
+
|
|
1882
1899
|
/**
|
|
1883
1900
|
* @public
|
|
1884
1901
|
* emitted when a video track is selected
|
package/util/loader.d.ts
CHANGED
|
@@ -398,6 +398,10 @@ declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI :
|
|
|
398
398
|
|
|
399
399
|
declare type ExtractSrcExtension<PluginBareConfig> = Get<PluginBareConfig, "src"> extends UnsafeSource<infer SrcMixinType> ? SrcMixinType : never;
|
|
400
400
|
|
|
401
|
+
declare const FEATURE_USAGE = "flowplayer:feature";
|
|
402
|
+
|
|
403
|
+
/* Excluded from this release type: FeatureUsageEventDetail */
|
|
404
|
+
|
|
401
405
|
declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
|
|
402
406
|
[Index in keyof PluginSrcs]: PluginSrcs[Index] extends {
|
|
403
407
|
type: string;
|
|
@@ -1258,6 +1262,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
|
|
|
1258
1262
|
/* Excluded from this release type: "seek:cancel" */
|
|
1259
1263
|
/* Excluded from this release type: "plugin:registered" */
|
|
1260
1264
|
/* Excluded from this release type: intersectionchange */
|
|
1265
|
+
/* Excluded from this release type: "flowplayer:feature" */
|
|
1261
1266
|
/* Excluded from this release type: beforeplay */
|
|
1262
1267
|
/* Excluded from this release type: beforepause */
|
|
1263
1268
|
/* Excluded from this release type: state */
|
|
@@ -1335,6 +1340,7 @@ declare type PlayerCustomEventsOverloads = {
|
|
|
1335
1340
|
/* Excluded from this release type: on */
|
|
1336
1341
|
/* Excluded from this release type: on */
|
|
1337
1342
|
/* Excluded from this release type: on */
|
|
1343
|
+
/* Excluded from this release type: on */
|
|
1338
1344
|
/**
|
|
1339
1345
|
* TODO: this is a workaround, since not all event overloads are typed. when all plugin work is finished, remove this
|
|
1340
1346
|
* https://wowzamedia.jira.com/browse/PLAY-653
|
|
@@ -1671,6 +1677,13 @@ export declare function root(): {};
|
|
|
1671
1677
|
|
|
1672
1678
|
declare const RTL = "is-rtl";
|
|
1673
1679
|
|
|
1680
|
+
declare const SampleRate: {
|
|
1681
|
+
readonly None: 0;
|
|
1682
|
+
readonly Low: 0.1;
|
|
1683
|
+
readonly Medium: 0.01;
|
|
1684
|
+
readonly High: 0.001;
|
|
1685
|
+
};
|
|
1686
|
+
|
|
1674
1687
|
/**
|
|
1675
1688
|
* @public
|
|
1676
1689
|
*/
|
|
@@ -1895,6 +1908,8 @@ TOUCH_START = "touchstart";
|
|
|
1895
1908
|
|
|
1896
1909
|
declare const TOUCHED = "is-touched";
|
|
1897
1910
|
|
|
1911
|
+
declare type TSampleRate = typeof SampleRate;
|
|
1912
|
+
|
|
1898
1913
|
declare const TV = "is-tv";
|
|
1899
1914
|
|
|
1900
1915
|
/**
|
|
@@ -1902,6 +1917,8 @@ declare const TV = "is-tv";
|
|
|
1902
1917
|
*/
|
|
1903
1918
|
declare type UnsafeSource<SrcMixin = unknown> = SourceStr | SourceObj<SrcMixin> | Array<SourceStr | SourceObj<SrcMixin>>;
|
|
1904
1919
|
|
|
1920
|
+
declare type ValidSampleRates = TSampleRate[keyof TSampleRate];
|
|
1921
|
+
|
|
1905
1922
|
/**
|
|
1906
1923
|
* @public
|
|
1907
1924
|
* emitted when a video track is selected
|