@flowplayer/player 3.35.0-rc → 3.36.0-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/flowplayer.css +1 -1
- package/index.d.ts +0 -6
- package/package.json +1 -2364
- package/plugins/ads.d.ts +7 -8
- package/plugins/ads.js +2 -2
- package/plugins/airplay.d.ts +0 -6
- package/plugins/analytics.d.ts +0 -6
- package/plugins/analytics.js +1 -1
- package/plugins/asel.d.ts +0 -6
- package/plugins/audio.d.ts +0 -6
- package/plugins/chapters.d.ts +0 -6
- package/plugins/chromecast.d.ts +0 -6
- package/plugins/comscore.d.ts +0 -6
- package/plugins/consent.d.ts +0 -6
- package/plugins/context-menu.d.ts +0 -6
- package/plugins/cuepoints.d.ts +0 -6
- package/plugins/dash.d.ts +0 -6
- package/plugins/drm.d.ts +0 -6
- package/plugins/endscreen.d.ts +0 -6
- package/plugins/fas.d.ts +0 -6
- package/plugins/float-on-scroll.d.ts +0 -6
- package/plugins/ga4.d.ts +0 -6
- package/plugins/gemius.d.ts +0 -6
- package/plugins/google-analytics.d.ts +0 -6
- package/plugins/hls.d.ts +0 -6
- package/plugins/id3.d.ts +0 -6
- package/plugins/iframe.d.ts +0 -6
- package/plugins/keyboard.d.ts +0 -6
- package/plugins/media-session.d.ts +0 -6
- package/plugins/message.d.ts +0 -6
- package/plugins/ovp.d.ts +0 -6
- package/plugins/playlist.d.ts +0 -6
- package/plugins/preview.d.ts +0 -6
- package/plugins/qsel.d.ts +0 -6
- package/plugins/qul.d.ts +0 -6
- package/plugins/rts.d.ts +0 -6
- package/plugins/rts.js +3 -3
- package/plugins/share.d.ts +0 -6
- package/plugins/speed.d.ts +0 -6
- package/plugins/ssai.d.ts +0 -6
- package/plugins/ssai.js +1 -1
- package/plugins/subtitles.d.ts +0 -6
- package/plugins/thumbnails.d.ts +0 -6
- package/plugins/tizen.d.ts +0 -6
- package/plugins/vtsel.d.ts +0 -6
- package/plugins/webos.d.ts +0 -6
- package/util/loader.d.ts +0 -6
- package/package/core/events.d.ts +0 -710
- package/package/core/events.js +0 -403
- package/package/core.js +0 -1
- package/package/default.js +0 -1
- package/package/embed.js +0 -7
- package/package/flowplayer.css +0 -1
- package/package/index.d.ts +0 -2238
- package/package/plugins/ads.d.ts +0 -4468
- package/package/plugins/ads.js +0 -7
- package/package/plugins/airplay.d.ts +0 -2152
- package/package/plugins/airplay.js +0 -1
- package/package/plugins/analytics.d.ts +0 -2146
- package/package/plugins/analytics.js +0 -1
- package/package/plugins/asel.d.ts +0 -2293
- package/package/plugins/asel.js +0 -1
- package/package/plugins/audio.d.ts +0 -2146
- package/package/plugins/audio.js +0 -1
- package/package/plugins/chapters.d.ts +0 -2155
- package/package/plugins/chapters.js +0 -1
- package/package/plugins/chromecast.d.ts +0 -2221
- package/package/plugins/chromecast.js +0 -1
- package/package/plugins/comscore.d.ts +0 -2146
- package/package/plugins/comscore.js +0 -1
- package/package/plugins/consent.d.ts +0 -2194
- package/package/plugins/consent.js +0 -1
- package/package/plugins/context-menu.d.ts +0 -2160
- package/package/plugins/context-menu.js +0 -1
- package/package/plugins/cuepoints.d.ts +0 -2270
- package/package/plugins/cuepoints.js +0 -1
- package/package/plugins/dash.d.ts +0 -2302
- package/package/plugins/dash.js +0 -2
- package/package/plugins/drm.d.ts +0 -2271
- package/package/plugins/drm.js +0 -1
- package/package/plugins/endscreen.d.ts +0 -2165
- package/package/plugins/endscreen.js +0 -1
- package/package/plugins/fas.d.ts +0 -2200
- package/package/plugins/fas.js +0 -1
- package/package/plugins/float-on-scroll.d.ts +0 -2234
- package/package/plugins/float-on-scroll.js +0 -1
- package/package/plugins/ga4.d.ts +0 -2146
- package/package/plugins/ga4.js +0 -1
- package/package/plugins/gemius.d.ts +0 -2171
- package/package/plugins/gemius.js +0 -1
- package/package/plugins/google-analytics.d.ts +0 -2146
- package/package/plugins/google-analytics.js +0 -1
- package/package/plugins/hls.d.ts +0 -2271
- package/package/plugins/hls.js +0 -1
- package/package/plugins/id3.d.ts +0 -2212
- package/package/plugins/id3.js +0 -1
- package/package/plugins/iframe.d.ts +0 -2147
- package/package/plugins/iframe.js +0 -1
- package/package/plugins/keyboard.d.ts +0 -2146
- package/package/plugins/keyboard.js +0 -1
- package/package/plugins/media-session.d.ts +0 -2146
- package/package/plugins/media-session.js +0 -1
- package/package/plugins/message.d.ts +0 -2205
- package/package/plugins/message.js +0 -1
- package/package/plugins/ovp.d.ts +0 -2208
- package/package/plugins/ovp.js +0 -1
- package/package/plugins/playlist.d.ts +0 -2465
- package/package/plugins/playlist.js +0 -1
- package/package/plugins/preview.d.ts +0 -2236
- package/package/plugins/preview.js +0 -1
- package/package/plugins/qsel.d.ts +0 -2236
- package/package/plugins/qsel.js +0 -1
- package/package/plugins/qul.d.ts +0 -2161
- package/package/plugins/qul.js +0 -1
- package/package/plugins/rts.d.ts +0 -2551
- package/package/plugins/rts.js +0 -25
- package/package/plugins/share.d.ts +0 -2181
- package/package/plugins/share.js +0 -1
- package/package/plugins/speed.d.ts +0 -2173
- package/package/plugins/speed.js +0 -1
- package/package/plugins/ssai.d.ts +0 -2502
- package/package/plugins/ssai.js +0 -7
- package/package/plugins/subtitles.d.ts +0 -2287
- package/package/plugins/subtitles.js +0 -1
- package/package/plugins/thumbnails.d.ts +0 -2164
- package/package/plugins/thumbnails.js +0 -1
- package/package/plugins/tizen.d.ts +0 -2152
- package/package/plugins/tizen.js +0 -1
- package/package/plugins/vtsel.d.ts +0 -2250
- package/package/plugins/vtsel.js +0 -1
- package/package/plugins/webos.d.ts +0 -2152
- package/package/plugins/webos.js +0 -1
- package/package/util/loader.d.ts +0 -2163
- package/package/util/loader.js +0 -63
package/plugins/ads.d.ts
CHANGED
|
@@ -377,7 +377,7 @@ declare class AdsController extends EventBus {
|
|
|
377
377
|
adapterInitialized(preload?: boolean): Promise<void>;
|
|
378
378
|
fetchNextAd(time: number, depth?: number): Promise<void>;
|
|
379
379
|
skipAdsOnSeek(time: number): void;
|
|
380
|
-
setCurrentTime(time: number,
|
|
380
|
+
setCurrentTime(time: number, _?: boolean, seek?: boolean): Promise<void>;
|
|
381
381
|
playAd(): Promise<void>;
|
|
382
382
|
checkIfBreakComplete(): void;
|
|
383
383
|
resetScheduleCounter(): void;
|
|
@@ -386,7 +386,7 @@ declare class AdsController extends EventBus {
|
|
|
386
386
|
trigger<EventName extends keyof AdEventsDetailMap>(name: EventName, data?: any): void;
|
|
387
387
|
dispatch<EventName extends keyof AdEventsDetailMap>(name: EventName, data: any): void;
|
|
388
388
|
get ad_type(): "preroll" | "midroll" | "postroll" | undefined;
|
|
389
|
-
shouldRestartContent(): boolean;
|
|
389
|
+
shouldRestartContent(eventName?: string): boolean;
|
|
390
390
|
finished(cb: () => void): Promise<void>;
|
|
391
391
|
hasPreroll(): boolean | undefined;
|
|
392
392
|
shallPlayAd(time: number): boolean;
|
|
@@ -2788,8 +2788,6 @@ export declare namespace google {
|
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
2791
|
-
declare const GRABBING = "is-grabbing";
|
|
2792
|
-
|
|
2793
2791
|
declare const HAS_POSTER = "has-poster";
|
|
2794
2792
|
|
|
2795
2793
|
declare type HasGlobalSrcExtensios<PluginSrcs extends unknown[]> = ArrayToIntersection<PickGlobalSrcExtension<PluginSrcs>>;
|
|
@@ -2964,6 +2962,7 @@ declare class IMA implements Adapter {
|
|
|
2964
2962
|
* returns a Promise of the IMA AdManager
|
|
2965
2963
|
*/
|
|
2966
2964
|
waitForAdsManager(): Promise<unknown>;
|
|
2965
|
+
initAdsManager(manager: google.ima.AdsManager, opts: any): void;
|
|
2967
2966
|
initAd(adTag: string, timeout?: number): Promise<void>;
|
|
2968
2967
|
requestAd(adTag: string, timeout: number): Promise<any>;
|
|
2969
2968
|
playAd(): Promise<void>;
|
|
@@ -3678,6 +3677,10 @@ export declare type PlayerIMAConfig = {
|
|
|
3678
3677
|
* Shows all ad breaks between current time and new seek position when the viewer seeks ahead in the timeline. Default value is true.
|
|
3679
3678
|
*/
|
|
3680
3679
|
show_all_ads_on_seek?: boolean;
|
|
3680
|
+
/**
|
|
3681
|
+
* Determines if ads should be preloaded before their scheduled playback time. When enabled, the player will start preloading preroll ads once detected, and midroll ads 5 seconds in advance to reduce latency when ad breaks begin. Default value is false.
|
|
3682
|
+
*/
|
|
3683
|
+
preload_ads?: boolean;
|
|
3681
3684
|
/**
|
|
3682
3685
|
* Defines a list of ads to display.
|
|
3683
3686
|
*/
|
|
@@ -4078,8 +4081,6 @@ declare const RetryMap: {
|
|
|
4078
4081
|
readonly OFF: "off";
|
|
4079
4082
|
};
|
|
4080
4083
|
|
|
4081
|
-
declare const RTL = "is-rtl";
|
|
4082
|
-
|
|
4083
4084
|
declare const SampleRate: {
|
|
4084
4085
|
/**
|
|
4085
4086
|
* for new features with low adoption rates, or features that are likely to not be used frequently, will include every single instance in the sample.
|
|
@@ -4233,11 +4234,9 @@ declare namespace states {
|
|
|
4233
4234
|
LOADING,
|
|
4234
4235
|
STARTING,
|
|
4235
4236
|
SEEKING,
|
|
4236
|
-
GRABBING,
|
|
4237
4237
|
DISABLED,
|
|
4238
4238
|
SMALL,
|
|
4239
4239
|
TINY,
|
|
4240
|
-
RTL,
|
|
4241
4240
|
TV,
|
|
4242
4241
|
ENDED,
|
|
4243
4242
|
LIVE_2 as LIVE,
|