@flowplayer/player 3.17.0-rc → 3.17.0-rc.2
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/flowplayer.css +1 -1
- package/index.d.ts +7 -2
- package/package.json +1 -1
- package/plugins/ads.d.ts +7 -2
- package/plugins/ads.js +1 -1
- package/plugins/airplay.d.ts +7 -2
- package/plugins/analytics.d.ts +7 -2
- package/plugins/analytics.js +1 -1
- package/plugins/asel.d.ts +7 -2
- package/plugins/audio.d.ts +7 -2
- package/plugins/chapters.d.ts +7 -2
- package/plugins/chromecast.d.ts +7 -2
- package/plugins/comscore.d.ts +7 -2
- package/plugins/consent.d.ts +7 -2
- package/plugins/context-menu.d.ts +7 -2
- package/plugins/cuepoints.d.ts +7 -2
- package/plugins/dash.d.ts +7 -2
- package/plugins/drm.d.ts +7 -2
- package/plugins/endscreen.d.ts +7 -2
- package/plugins/fas.d.ts +7 -2
- package/plugins/float-on-scroll.d.ts +7 -2
- package/plugins/ga4.d.ts +7 -2
- package/plugins/gemius.d.ts +7 -2
- package/plugins/google-analytics.d.ts +7 -2
- package/plugins/health.d.ts +7 -2
- package/plugins/health.js +1 -1
- package/plugins/hls.d.ts +7 -2
- package/plugins/id3.d.ts +7 -2
- package/plugins/iframe.d.ts +7 -2
- package/plugins/keyboard.d.ts +7 -2
- package/plugins/media-session.d.ts +7 -2
- package/plugins/message.d.ts +7 -2
- package/plugins/ovp.d.ts +7 -2
- package/plugins/playlist.d.ts +7 -2
- package/plugins/preview.d.ts +7 -2
- package/plugins/qsel.d.ts +7 -2
- package/plugins/qul.d.ts +7 -2
- package/plugins/rts.d.ts +7 -2
- package/plugins/rts.js +21 -2
- package/plugins/share.d.ts +7 -2
- package/plugins/speed.d.ts +7 -2
- package/plugins/ssai.d.ts +7 -2
- package/plugins/ssai.js +1 -1
- package/plugins/subtitles.d.ts +7 -2
- package/plugins/thumbnails.d.ts +7 -2
- package/plugins/tizen.d.ts +7 -2
- package/plugins/vtsel.d.ts +7 -2
- package/plugins/vtsel.js +1 -1
- package/plugins/webos.d.ts +7 -2
- package/util/loader.d.ts +7 -2
package/plugins/id3.d.ts
CHANGED
|
@@ -436,13 +436,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
436
436
|
* @param selector - query selector of the HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
/**
|
|
441
441
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
442
442
|
* @param element - HTML element where player will render
|
|
443
443
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
444
444
|
*/
|
|
445
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
445
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
/**
|
|
@@ -1621,4 +1621,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1621
1621
|
|
|
1622
1622
|
declare const WILL_SEEK = "will-seek";
|
|
1623
1623
|
|
|
1624
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1625
|
+
opts: PluginConfig;
|
|
1626
|
+
setOpts(config: PluginConfig): void;
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1624
1629
|
export { }
|
package/plugins/iframe.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1556,4 +1556,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1556
1556
|
|
|
1557
1557
|
declare const WILL_SEEK = "will-seek";
|
|
1558
1558
|
|
|
1559
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1560
|
+
opts: PluginConfig;
|
|
1561
|
+
setOpts(config: PluginConfig): void;
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1559
1564
|
export { }
|
package/plugins/keyboard.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1555,4 +1555,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1555
1555
|
|
|
1556
1556
|
declare const WILL_SEEK = "will-seek";
|
|
1557
1557
|
|
|
1558
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1559
|
+
opts: PluginConfig;
|
|
1560
|
+
setOpts(config: PluginConfig): void;
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1558
1563
|
export { }
|
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1555,4 +1555,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1555
1555
|
|
|
1556
1556
|
declare const WILL_SEEK = "will-seek";
|
|
1557
1557
|
|
|
1558
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1559
|
+
opts: PluginConfig;
|
|
1560
|
+
setOpts(config: PluginConfig): void;
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1558
1563
|
export { }
|
package/plugins/message.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1555,4 +1555,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1555
1555
|
|
|
1556
1556
|
declare const WILL_SEEK = "will-seek";
|
|
1557
1557
|
|
|
1558
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1559
|
+
opts: PluginConfig;
|
|
1560
|
+
setOpts(config: PluginConfig): void;
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1558
1563
|
export { }
|
package/plugins/ovp.d.ts
CHANGED
|
@@ -447,13 +447,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
447
447
|
* @param selector - query selector of the HTML element where player will render
|
|
448
448
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
449
449
|
*/
|
|
450
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
450
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
451
451
|
/**
|
|
452
452
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
453
453
|
* @param element - HTML element where player will render
|
|
454
454
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
455
455
|
*/
|
|
456
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
456
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
/**
|
|
@@ -1611,4 +1611,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1611
1611
|
|
|
1612
1612
|
declare const WILL_SEEK = "will-seek";
|
|
1613
1613
|
|
|
1614
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1615
|
+
opts: PluginConfig;
|
|
1616
|
+
setOpts(config: PluginConfig): void;
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1614
1619
|
export { }
|
package/plugins/playlist.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1555,4 +1555,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1555
1555
|
|
|
1556
1556
|
declare const WILL_SEEK = "will-seek";
|
|
1557
1557
|
|
|
1558
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1559
|
+
opts: PluginConfig;
|
|
1560
|
+
setOpts(config: PluginConfig): void;
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1558
1563
|
export { }
|
package/plugins/preview.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1555,4 +1555,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1555
1555
|
|
|
1556
1556
|
declare const WILL_SEEK = "will-seek";
|
|
1557
1557
|
|
|
1558
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1559
|
+
opts: PluginConfig;
|
|
1560
|
+
setOpts(config: PluginConfig): void;
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1558
1563
|
export { }
|
package/plugins/qsel.d.ts
CHANGED
|
@@ -437,13 +437,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
437
437
|
* @param selector - query selector of the HTML element where player will render
|
|
438
438
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
439
439
|
*/
|
|
440
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
440
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
441
441
|
/**
|
|
442
442
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
443
443
|
* @param element - HTML element where player will render
|
|
444
444
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
445
445
|
*/
|
|
446
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
446
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
/**
|
|
@@ -1630,4 +1630,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1630
1630
|
|
|
1631
1631
|
declare const WILL_SEEK = "will-seek";
|
|
1632
1632
|
|
|
1633
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1634
|
+
opts: PluginConfig;
|
|
1635
|
+
setOpts(config: PluginConfig): void;
|
|
1636
|
+
};
|
|
1637
|
+
|
|
1633
1638
|
export { }
|
package/plugins/qul.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1570,4 +1570,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1570
1570
|
|
|
1571
1571
|
declare const WILL_SEEK = "will-seek";
|
|
1572
1572
|
|
|
1573
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1574
|
+
opts: PluginConfig;
|
|
1575
|
+
setOpts(config: PluginConfig): void;
|
|
1576
|
+
};
|
|
1577
|
+
|
|
1573
1578
|
export { }
|
package/plugins/rts.d.ts
CHANGED
|
@@ -430,13 +430,13 @@ declare interface FlowplayerUMDWithPlugins<ConfigWithPlugins extends Config = Co
|
|
|
430
430
|
* @param selector - query selector of the HTML element where player will render
|
|
431
431
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
432
432
|
*/
|
|
433
|
-
(selector: string, config?: ConfigWithPlugins): PluginPlayer
|
|
433
|
+
(selector: string, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
434
434
|
/**
|
|
435
435
|
* Configure flowplayer, it's attached plugins and display flowplayer it in the UI
|
|
436
436
|
* @param element - HTML element where player will render
|
|
437
437
|
* @param config - Configuration of the flowplayer and the attached plugins
|
|
438
438
|
*/
|
|
439
|
-
(element: HTMLElement, config?: ConfigWithPlugins): PluginPlayer
|
|
439
|
+
(element: HTMLElement, config?: ConfigWithPlugins): WithOpts<PluginPlayer, ConfigWithPlugins>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -1555,4 +1555,9 @@ declare const WILL_PLAY = "will-play";
|
|
|
1555
1555
|
|
|
1556
1556
|
declare const WILL_SEEK = "will-seek";
|
|
1557
1557
|
|
|
1558
|
+
declare type WithOpts<PluginPlayer extends Player = Player, PluginConfig extends Config = Config> = PluginPlayer & {
|
|
1559
|
+
opts: PluginConfig;
|
|
1560
|
+
setOpts(config: PluginConfig): void;
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1558
1563
|
export { }
|