@flowplayer/player 3.17.0 → 3.17.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 (52) hide show
  1. package/core/events.d.ts +49 -0
  2. package/core/events.js +22 -2
  3. package/core.js +1 -1
  4. package/default.js +1 -1
  5. package/embed.js +2 -2
  6. package/index.d.ts +53 -1
  7. package/package.json +1 -1
  8. package/plugins/ads.d.ts +53 -1
  9. package/plugins/ads.js +1 -1
  10. package/plugins/airplay.d.ts +53 -1
  11. package/plugins/analytics.d.ts +53 -1
  12. package/plugins/analytics.js +1 -1
  13. package/plugins/asel.d.ts +53 -1
  14. package/plugins/audio.d.ts +53 -1
  15. package/plugins/chapters.d.ts +53 -1
  16. package/plugins/chromecast.d.ts +53 -1
  17. package/plugins/comscore.d.ts +53 -1
  18. package/plugins/consent.d.ts +53 -1
  19. package/plugins/context-menu.d.ts +53 -1
  20. package/plugins/cuepoints.d.ts +59 -7
  21. package/plugins/dash.d.ts +53 -1
  22. package/plugins/drm.d.ts +53 -1
  23. package/plugins/endscreen.d.ts +53 -1
  24. package/plugins/fas.d.ts +53 -1
  25. package/plugins/float-on-scroll.d.ts +53 -1
  26. package/plugins/ga4.d.ts +53 -1
  27. package/plugins/gemius.d.ts +53 -1
  28. package/plugins/google-analytics.d.ts +53 -1
  29. package/plugins/health.d.ts +53 -1
  30. package/plugins/health.js +1 -1
  31. package/plugins/hls.d.ts +53 -1
  32. package/plugins/id3.d.ts +53 -1
  33. package/plugins/iframe.d.ts +53 -1
  34. package/plugins/keyboard.d.ts +53 -1
  35. package/plugins/media-session.d.ts +53 -1
  36. package/plugins/message.d.ts +53 -1
  37. package/plugins/ovp.d.ts +53 -1
  38. package/plugins/playlist.d.ts +53 -1
  39. package/plugins/preview.d.ts +53 -1
  40. package/plugins/qsel.d.ts +53 -1
  41. package/plugins/qul.d.ts +53 -1
  42. package/plugins/rts.d.ts +53 -1
  43. package/plugins/share.d.ts +53 -1
  44. package/plugins/speed.d.ts +53 -1
  45. package/plugins/ssai.d.ts +53 -1
  46. package/plugins/ssai.js +1 -1
  47. package/plugins/subtitles.d.ts +53 -1
  48. package/plugins/thumbnails.d.ts +53 -1
  49. package/plugins/tizen.d.ts +53 -1
  50. package/plugins/vtsel.d.ts +53 -1
  51. package/plugins/webos.d.ts +53 -1
  52. package/util/loader.d.ts +53 -1
@@ -163,6 +163,55 @@ CONTEXT_MENU = "contextmenu";
163
163
  */
164
164
  declare type ContextMenuEventDetail = null;
165
165
 
166
+ /**
167
+ * @public
168
+ * @deprecated
169
+ * when a cuepoint becomes inactive
170
+ */
171
+ declare const /**
172
+ @public
173
+ * when a new player is inserted into the HTML
174
+ */ /**
175
+ * @public
176
+ * @deprecated
177
+ * when a cuepoint becomes inactive
178
+ */
179
+ CUEPOINT_END = "cuepointend";
180
+
181
+ /**
182
+ * @public
183
+ * @deprecated
184
+ * when a cuepoint is active
185
+ */
186
+ declare const /**
187
+ @public
188
+ * when a new player is inserted into the HTML
189
+ */ /**
190
+ * @public
191
+ * @deprecated
192
+ * when a cuepoint is active
193
+ */
194
+ CUEPOINT_START = "cuepointstart";
195
+
196
+ /**
197
+ * @public
198
+ * @deprecated
199
+ * cuepoints parsing is asynchronous
200
+ * you cannot rely on them existing until
201
+ * this event is emitted
202
+ */
203
+ declare const /**
204
+ @public
205
+ * when a new player is inserted into the HTML
206
+ */ /**
207
+ * @public
208
+ * @deprecated
209
+ * cuepoints parsing is asynchronous
210
+ * you cannot rely on them existing until
211
+ * this event is emitted
212
+ */
213
+ CUEPOINTS = "cuepoints";
214
+
166
215
  /**
167
216
  * @public
168
217
  */
@@ -347,7 +396,10 @@ declare namespace events {
347
396
  PORTRAIT,
348
397
  DVR,
349
398
  LIVE,
350
- RECOVER
399
+ RECOVER,
400
+ CUEPOINTS,
401
+ CUEPOINT_START,
402
+ CUEPOINT_END
351
403
  }
352
404
  }
353
405
 
@@ -165,6 +165,55 @@ CONTEXT_MENU = "contextmenu";
165
165
  */
166
166
  declare type ContextMenuEventDetail = null;
167
167
 
168
+ /**
169
+ * @public
170
+ * @deprecated
171
+ * when a cuepoint becomes inactive
172
+ */
173
+ declare const /**
174
+ @public
175
+ * when a new player is inserted into the HTML
176
+ */ /**
177
+ * @public
178
+ * @deprecated
179
+ * when a cuepoint becomes inactive
180
+ */
181
+ CUEPOINT_END = "cuepointend";
182
+
183
+ /**
184
+ * @public
185
+ * @deprecated
186
+ * when a cuepoint is active
187
+ */
188
+ declare const /**
189
+ @public
190
+ * when a new player is inserted into the HTML
191
+ */ /**
192
+ * @public
193
+ * @deprecated
194
+ * when a cuepoint is active
195
+ */
196
+ CUEPOINT_START = "cuepointstart";
197
+
198
+ /**
199
+ * @public
200
+ * @deprecated
201
+ * cuepoints parsing is asynchronous
202
+ * you cannot rely on them existing until
203
+ * this event is emitted
204
+ */
205
+ declare const /**
206
+ @public
207
+ * when a new player is inserted into the HTML
208
+ */ /**
209
+ * @public
210
+ * @deprecated
211
+ * cuepoints parsing is asynchronous
212
+ * you cannot rely on them existing until
213
+ * this event is emitted
214
+ */
215
+ CUEPOINTS = "cuepoints";
216
+
168
217
  /**
169
218
  * @public
170
219
  */
@@ -349,7 +398,10 @@ declare namespace events {
349
398
  PORTRAIT,
350
399
  DVR,
351
400
  LIVE,
352
- RECOVER
401
+ RECOVER,
402
+ CUEPOINTS,
403
+ CUEPOINT_START,
404
+ CUEPOINT_END
353
405
  }
354
406
  }
355
407
 
@@ -213,6 +213,55 @@ CONTEXT_MENU = "contextmenu";
213
213
  */
214
214
  declare type ContextMenuEventDetail = null;
215
215
 
216
+ /**
217
+ * @public
218
+ * @deprecated
219
+ * when a cuepoint becomes inactive
220
+ */
221
+ declare const /**
222
+ @public
223
+ * when a new player is inserted into the HTML
224
+ */ /**
225
+ * @public
226
+ * @deprecated
227
+ * when a cuepoint becomes inactive
228
+ */
229
+ CUEPOINT_END = "cuepointend";
230
+
231
+ /**
232
+ * @public
233
+ * @deprecated
234
+ * when a cuepoint is active
235
+ */
236
+ declare const /**
237
+ @public
238
+ * when a new player is inserted into the HTML
239
+ */ /**
240
+ * @public
241
+ * @deprecated
242
+ * when a cuepoint is active
243
+ */
244
+ CUEPOINT_START = "cuepointstart";
245
+
246
+ /**
247
+ * @public
248
+ * @deprecated
249
+ * cuepoints parsing is asynchronous
250
+ * you cannot rely on them existing until
251
+ * this event is emitted
252
+ */
253
+ declare const /**
254
+ @public
255
+ * when a new player is inserted into the HTML
256
+ */ /**
257
+ * @public
258
+ * @deprecated
259
+ * cuepoints parsing is asynchronous
260
+ * you cannot rely on them existing until
261
+ * this event is emitted
262
+ */
263
+ CUEPOINTS = "cuepoints";
264
+
216
265
  /**
217
266
  * @public
218
267
  */
@@ -397,7 +446,10 @@ declare namespace events {
397
446
  PORTRAIT,
398
447
  DVR,
399
448
  LIVE,
400
- RECOVER
449
+ RECOVER,
450
+ CUEPOINTS,
451
+ CUEPOINT_START,
452
+ CUEPOINT_END
401
453
  }
402
454
  }
403
455
 
@@ -163,6 +163,55 @@ CONTEXT_MENU = "contextmenu";
163
163
  */
164
164
  declare type ContextMenuEventDetail = null;
165
165
 
166
+ /**
167
+ * @public
168
+ * @deprecated
169
+ * when a cuepoint becomes inactive
170
+ */
171
+ declare const /**
172
+ @public
173
+ * when a new player is inserted into the HTML
174
+ */ /**
175
+ * @public
176
+ * @deprecated
177
+ * when a cuepoint becomes inactive
178
+ */
179
+ CUEPOINT_END = "cuepointend";
180
+
181
+ /**
182
+ * @public
183
+ * @deprecated
184
+ * when a cuepoint is active
185
+ */
186
+ declare const /**
187
+ @public
188
+ * when a new player is inserted into the HTML
189
+ */ /**
190
+ * @public
191
+ * @deprecated
192
+ * when a cuepoint is active
193
+ */
194
+ CUEPOINT_START = "cuepointstart";
195
+
196
+ /**
197
+ * @public
198
+ * @deprecated
199
+ * cuepoints parsing is asynchronous
200
+ * you cannot rely on them existing until
201
+ * this event is emitted
202
+ */
203
+ declare const /**
204
+ @public
205
+ * when a new player is inserted into the HTML
206
+ */ /**
207
+ * @public
208
+ * @deprecated
209
+ * cuepoints parsing is asynchronous
210
+ * you cannot rely on them existing until
211
+ * this event is emitted
212
+ */
213
+ CUEPOINTS = "cuepoints";
214
+
166
215
  /**
167
216
  * @public
168
217
  */
@@ -347,7 +396,10 @@ declare namespace events {
347
396
  PORTRAIT,
348
397
  DVR,
349
398
  LIVE,
350
- RECOVER
399
+ RECOVER,
400
+ CUEPOINTS,
401
+ CUEPOINT_START,
402
+ CUEPOINT_END
351
403
  }
352
404
  }
353
405
 
@@ -189,6 +189,55 @@ CONTEXT_MENU = "contextmenu";
189
189
  */
190
190
  declare type ContextMenuEventDetail = null;
191
191
 
192
+ /**
193
+ * @public
194
+ * @deprecated
195
+ * when a cuepoint becomes inactive
196
+ */
197
+ declare const /**
198
+ @public
199
+ * when a new player is inserted into the HTML
200
+ */ /**
201
+ * @public
202
+ * @deprecated
203
+ * when a cuepoint becomes inactive
204
+ */
205
+ CUEPOINT_END = "cuepointend";
206
+
207
+ /**
208
+ * @public
209
+ * @deprecated
210
+ * when a cuepoint is active
211
+ */
212
+ declare const /**
213
+ @public
214
+ * when a new player is inserted into the HTML
215
+ */ /**
216
+ * @public
217
+ * @deprecated
218
+ * when a cuepoint is active
219
+ */
220
+ CUEPOINT_START = "cuepointstart";
221
+
222
+ /**
223
+ * @public
224
+ * @deprecated
225
+ * cuepoints parsing is asynchronous
226
+ * you cannot rely on them existing until
227
+ * this event is emitted
228
+ */
229
+ declare const /**
230
+ @public
231
+ * when a new player is inserted into the HTML
232
+ */ /**
233
+ * @public
234
+ * @deprecated
235
+ * cuepoints parsing is asynchronous
236
+ * you cannot rely on them existing until
237
+ * this event is emitted
238
+ */
239
+ CUEPOINTS = "cuepoints";
240
+
192
241
  /**
193
242
  * @public
194
243
  */
@@ -373,7 +422,10 @@ declare namespace events {
373
422
  PORTRAIT,
374
423
  DVR,
375
424
  LIVE,
376
- RECOVER
425
+ RECOVER,
426
+ CUEPOINTS,
427
+ CUEPOINT_START,
428
+ CUEPOINT_END
377
429
  }
378
430
  }
379
431
 
@@ -170,6 +170,55 @@ export declare type ContextMenuConfig = ConfigWith<{
170
170
  */
171
171
  declare type ContextMenuEventDetail = null;
172
172
 
173
+ /**
174
+ * @public
175
+ * @deprecated
176
+ * when a cuepoint becomes inactive
177
+ */
178
+ declare const /**
179
+ @public
180
+ * when a new player is inserted into the HTML
181
+ */ /**
182
+ * @public
183
+ * @deprecated
184
+ * when a cuepoint becomes inactive
185
+ */
186
+ CUEPOINT_END = "cuepointend";
187
+
188
+ /**
189
+ * @public
190
+ * @deprecated
191
+ * when a cuepoint is active
192
+ */
193
+ declare const /**
194
+ @public
195
+ * when a new player is inserted into the HTML
196
+ */ /**
197
+ * @public
198
+ * @deprecated
199
+ * when a cuepoint is active
200
+ */
201
+ CUEPOINT_START = "cuepointstart";
202
+
203
+ /**
204
+ * @public
205
+ * @deprecated
206
+ * cuepoints parsing is asynchronous
207
+ * you cannot rely on them existing until
208
+ * this event is emitted
209
+ */
210
+ declare const /**
211
+ @public
212
+ * when a new player is inserted into the HTML
213
+ */ /**
214
+ * @public
215
+ * @deprecated
216
+ * cuepoints parsing is asynchronous
217
+ * you cannot rely on them existing until
218
+ * this event is emitted
219
+ */
220
+ CUEPOINTS = "cuepoints";
221
+
173
222
  /**
174
223
  * @public
175
224
  */
@@ -354,7 +403,10 @@ declare namespace events {
354
403
  PORTRAIT,
355
404
  DVR,
356
405
  LIVE,
357
- RECOVER
406
+ RECOVER,
407
+ CUEPOINTS,
408
+ CUEPOINT_START,
409
+ CUEPOINT_END
358
410
  }
359
411
  }
360
412
 
@@ -178,15 +178,45 @@ export declare type CueAttrs = {
178
178
 
179
179
  /**
180
180
  * @public
181
+ * @deprecated
181
182
  * when a cuepoint becomes inactive
182
183
  */
183
- declare const CUEPOINT_END = "cuepointend";
184
+ declare const /**
185
+ @public
186
+ * when a new player is inserted into the HTML
187
+ */ /**
188
+ * @public
189
+ * @deprecated
190
+ * when a cuepoint becomes inactive
191
+ */
192
+ CUEPOINT_END = "cuepointend";
193
+
194
+ /**
195
+ * @public
196
+ * when a cuepoint becomes inactive
197
+ */
198
+ declare const CUEPOINT_END_2 = "cuepointend";
199
+
200
+ /**
201
+ * @public
202
+ * @deprecated
203
+ * when a cuepoint is active
204
+ */
205
+ declare const /**
206
+ @public
207
+ * when a new player is inserted into the HTML
208
+ */ /**
209
+ * @public
210
+ * @deprecated
211
+ * when a cuepoint is active
212
+ */
213
+ CUEPOINT_START = "cuepointstart";
184
214
 
185
215
  /**
186
216
  * @public
187
217
  * when a cuepoint is active
188
218
  */
189
- declare const CUEPOINT_START = "cuepointstart";
219
+ declare const CUEPOINT_START_2 = "cuepointstart";
190
220
 
191
221
  /**
192
222
  * @public
@@ -202,11 +232,22 @@ export declare type CuepointList = Array<CueAttrs>;
202
232
 
203
233
  /**
204
234
  * @public
235
+ * @deprecated
236
+ * cuepoints parsing is asynchronous
237
+ * you cannot rely on them existing until
238
+ * this event is emitted
239
+ */
240
+ declare const /**
241
+ @public
242
+ * when a new player is inserted into the HTML
243
+ */ /**
244
+ * @public
245
+ * @deprecated
205
246
  * cuepoints parsing is asynchronous
206
247
  * you cannot rely on them existing until
207
248
  * this event is emitted
208
249
  */
209
- declare const CUEPOINTS = "cuepoints";
250
+ CUEPOINTS = "cuepoints";
210
251
 
211
252
  /**
212
253
  * @public
@@ -216,6 +257,14 @@ declare const CUEPOINTS = "cuepoints";
216
257
  declare const Cuepoints: PluginCtor<CuepointsConfig, CuepointsPlayer> & CuepointsAPI;
217
258
  export default Cuepoints;
218
259
 
260
+ /**
261
+ * @public
262
+ * cuepoints parsing is asynchronous
263
+ * you cannot rely on them existing until
264
+ * this event is emitted
265
+ */
266
+ declare const CUEPOINTS_2 = "cuepoints";
267
+
219
268
  /**
220
269
  * @public
221
270
  */
@@ -463,15 +512,18 @@ declare namespace events {
463
512
  PORTRAIT,
464
513
  DVR,
465
514
  LIVE,
466
- RECOVER
515
+ RECOVER,
516
+ CUEPOINTS,
517
+ CUEPOINT_START,
518
+ CUEPOINT_END
467
519
  }
468
520
  }
469
521
 
470
522
  declare namespace events_2 {
471
523
  export {
472
- CUEPOINTS,
473
- CUEPOINT_START,
474
- CUEPOINT_END
524
+ CUEPOINTS_2 as CUEPOINTS,
525
+ CUEPOINT_START_2 as CUEPOINT_START,
526
+ CUEPOINT_END_2 as CUEPOINT_END
475
527
  }
476
528
  }
477
529
 
package/plugins/dash.d.ts CHANGED
@@ -173,6 +173,55 @@ CONTEXT_MENU = "contextmenu";
173
173
  */
174
174
  declare type ContextMenuEventDetail = null;
175
175
 
176
+ /**
177
+ * @public
178
+ * @deprecated
179
+ * when a cuepoint becomes inactive
180
+ */
181
+ declare const /**
182
+ @public
183
+ * when a new player is inserted into the HTML
184
+ */ /**
185
+ * @public
186
+ * @deprecated
187
+ * when a cuepoint becomes inactive
188
+ */
189
+ CUEPOINT_END = "cuepointend";
190
+
191
+ /**
192
+ * @public
193
+ * @deprecated
194
+ * when a cuepoint is active
195
+ */
196
+ declare const /**
197
+ @public
198
+ * when a new player is inserted into the HTML
199
+ */ /**
200
+ * @public
201
+ * @deprecated
202
+ * when a cuepoint is active
203
+ */
204
+ CUEPOINT_START = "cuepointstart";
205
+
206
+ /**
207
+ * @public
208
+ * @deprecated
209
+ * cuepoints parsing is asynchronous
210
+ * you cannot rely on them existing until
211
+ * this event is emitted
212
+ */
213
+ declare const /**
214
+ @public
215
+ * when a new player is inserted into the HTML
216
+ */ /**
217
+ * @public
218
+ * @deprecated
219
+ * cuepoints parsing is asynchronous
220
+ * you cannot rely on them existing until
221
+ * this event is emitted
222
+ */
223
+ CUEPOINTS = "cuepoints";
224
+
176
225
  /**
177
226
  * @public
178
227
  * This plugin implements an MPEG-DASH loader plugin which is capable of playing .mpd source files.
@@ -408,7 +457,10 @@ declare namespace events {
408
457
  PORTRAIT,
409
458
  DVR,
410
459
  LIVE,
411
- RECOVER
460
+ RECOVER,
461
+ CUEPOINTS,
462
+ CUEPOINT_START,
463
+ CUEPOINT_END
412
464
  }
413
465
  }
414
466
 
package/plugins/drm.d.ts CHANGED
@@ -157,6 +157,55 @@ CONTEXT_MENU = "contextmenu";
157
157
  */
158
158
  declare type ContextMenuEventDetail = null;
159
159
 
160
+ /**
161
+ * @public
162
+ * @deprecated
163
+ * when a cuepoint becomes inactive
164
+ */
165
+ declare const /**
166
+ @public
167
+ * when a new player is inserted into the HTML
168
+ */ /**
169
+ * @public
170
+ * @deprecated
171
+ * when a cuepoint becomes inactive
172
+ */
173
+ CUEPOINT_END = "cuepointend";
174
+
175
+ /**
176
+ * @public
177
+ * @deprecated
178
+ * when a cuepoint is active
179
+ */
180
+ declare const /**
181
+ @public
182
+ * when a new player is inserted into the HTML
183
+ */ /**
184
+ * @public
185
+ * @deprecated
186
+ * when a cuepoint is active
187
+ */
188
+ CUEPOINT_START = "cuepointstart";
189
+
190
+ /**
191
+ * @public
192
+ * @deprecated
193
+ * cuepoints parsing is asynchronous
194
+ * you cannot rely on them existing until
195
+ * this event is emitted
196
+ */
197
+ declare const /**
198
+ @public
199
+ * when a new player is inserted into the HTML
200
+ */ /**
201
+ * @public
202
+ * @deprecated
203
+ * cuepoints parsing is asynchronous
204
+ * you cannot rely on them existing until
205
+ * this event is emitted
206
+ */
207
+ CUEPOINTS = "cuepoints";
208
+
160
209
  /**
161
210
  * @public
162
211
  */
@@ -347,7 +396,10 @@ declare namespace events {
347
396
  PORTRAIT,
348
397
  DVR,
349
398
  LIVE,
350
- RECOVER
399
+ RECOVER,
400
+ CUEPOINTS,
401
+ CUEPOINT_START,
402
+ CUEPOINT_END
351
403
  }
352
404
  }
353
405
 
@@ -157,6 +157,55 @@ CONTEXT_MENU = "contextmenu";
157
157
  */
158
158
  declare type ContextMenuEventDetail = null;
159
159
 
160
+ /**
161
+ * @public
162
+ * @deprecated
163
+ * when a cuepoint becomes inactive
164
+ */
165
+ declare const /**
166
+ @public
167
+ * when a new player is inserted into the HTML
168
+ */ /**
169
+ * @public
170
+ * @deprecated
171
+ * when a cuepoint becomes inactive
172
+ */
173
+ CUEPOINT_END = "cuepointend";
174
+
175
+ /**
176
+ * @public
177
+ * @deprecated
178
+ * when a cuepoint is active
179
+ */
180
+ declare const /**
181
+ @public
182
+ * when a new player is inserted into the HTML
183
+ */ /**
184
+ * @public
185
+ * @deprecated
186
+ * when a cuepoint is active
187
+ */
188
+ CUEPOINT_START = "cuepointstart";
189
+
190
+ /**
191
+ * @public
192
+ * @deprecated
193
+ * cuepoints parsing is asynchronous
194
+ * you cannot rely on them existing until
195
+ * this event is emitted
196
+ */
197
+ declare const /**
198
+ @public
199
+ * when a new player is inserted into the HTML
200
+ */ /**
201
+ * @public
202
+ * @deprecated
203
+ * cuepoints parsing is asynchronous
204
+ * you cannot rely on them existing until
205
+ * this event is emitted
206
+ */
207
+ CUEPOINTS = "cuepoints";
208
+
160
209
  /**
161
210
  * @public
162
211
  */
@@ -354,7 +403,10 @@ declare namespace events {
354
403
  PORTRAIT,
355
404
  DVR,
356
405
  LIVE,
357
- RECOVER
406
+ RECOVER,
407
+ CUEPOINTS,
408
+ CUEPOINT_START,
409
+ CUEPOINT_END
358
410
  }
359
411
  }
360
412