@flowplayer/player 3.16.1-rc → 3.17.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.
Files changed (53) hide show
  1. package/core/events.d.ts +0 -43
  2. package/core/events.js +2 -19
  3. package/core.js +1 -1
  4. package/default.js +1 -1
  5. package/embed.js +2 -2
  6. package/index.d.ts +0 -68
  7. package/package.json +1 -1
  8. package/plugins/ads.d.ts +0 -68
  9. package/plugins/ads.js +1 -1
  10. package/plugins/airplay.d.ts +0 -68
  11. package/plugins/analytics.d.ts +0 -68
  12. package/plugins/analytics.js +1 -1
  13. package/plugins/asel.d.ts +0 -68
  14. package/plugins/audio.d.ts +0 -68
  15. package/plugins/chapters.d.ts +3 -78
  16. package/plugins/chromecast.d.ts +0 -68
  17. package/plugins/comscore.d.ts +0 -68
  18. package/plugins/consent.d.ts +0 -68
  19. package/plugins/context-menu.d.ts +0 -68
  20. package/plugins/cuepoints.d.ts +77 -44
  21. package/plugins/cuepoints.js +1 -1
  22. package/plugins/dash.d.ts +0 -68
  23. package/plugins/drm.d.ts +0 -68
  24. package/plugins/endscreen.d.ts +0 -68
  25. package/plugins/fas.d.ts +0 -68
  26. package/plugins/float-on-scroll.d.ts +0 -68
  27. package/plugins/ga4.d.ts +0 -68
  28. package/plugins/gemius.d.ts +0 -68
  29. package/plugins/google-analytics.d.ts +0 -68
  30. package/plugins/health.d.ts +0 -68
  31. package/plugins/health.js +1 -1
  32. package/plugins/hls.d.ts +0 -68
  33. package/plugins/id3.d.ts +0 -68
  34. package/plugins/iframe.d.ts +0 -68
  35. package/plugins/keyboard.d.ts +0 -68
  36. package/plugins/media-session.d.ts +0 -68
  37. package/plugins/message.d.ts +0 -68
  38. package/plugins/ovp.d.ts +0 -68
  39. package/plugins/playlist.d.ts +0 -68
  40. package/plugins/preview.d.ts +0 -68
  41. package/plugins/qsel.d.ts +0 -68
  42. package/plugins/qul.d.ts +0 -68
  43. package/plugins/rts.d.ts +0 -68
  44. package/plugins/share.d.ts +0 -68
  45. package/plugins/speed.d.ts +0 -68
  46. package/plugins/ssai.d.ts +0 -68
  47. package/plugins/ssai.js +1 -1
  48. package/plugins/subtitles.d.ts +0 -68
  49. package/plugins/thumbnails.d.ts +0 -68
  50. package/plugins/tizen.d.ts +0 -68
  51. package/plugins/vtsel.d.ts +0 -68
  52. package/plugins/webos.d.ts +0 -68
  53. package/util/loader.d.ts +0 -68
@@ -170,59 +170,6 @@ export declare type ContextMenuConfig = ConfigWith<{
170
170
  */
171
171
  declare type ContextMenuEventDetail = null;
172
172
 
173
- /**
174
- * @public
175
- * when a cuepoint becomes inactive
176
- */
177
- declare const /**
178
- @public
179
- * when a new player is inserted into the HTML
180
- */ /**
181
- * @public
182
- * when a cuepoint becomes inactive
183
- */
184
- CUEPOINT_END = "cuepointend";
185
-
186
- /**
187
- * @public
188
- * when a cuepoint is active
189
- */
190
- declare const /**
191
- @public
192
- * when a new player is inserted into the HTML
193
- */ /**
194
- * @public
195
- * when a cuepoint is active
196
- */
197
- CUEPOINT_START = "cuepointstart";
198
-
199
- /**
200
- * @public
201
- */
202
- declare type CuePointEndEventDetail = null;
203
-
204
- /**
205
- * @public
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
- * cuepoints parsing is asynchronous
216
- * you cannot rely on them existing until
217
- * this event is emitted
218
- */
219
- CUEPOINTS = "cuepoints";
220
-
221
- /**
222
- * @public
223
- */
224
- declare type CuePointStartEventDetail = null;
225
-
226
173
  /**
227
174
  * @public
228
175
  */
@@ -394,9 +341,6 @@ declare namespace events {
394
341
  SEEKED,
395
342
  SEEKING_2 as SEEKING,
396
343
  DURATION_CHANGE,
397
- CUEPOINTS,
398
- CUEPOINT_START,
399
- CUEPOINT_END,
400
344
  VIEW_ENTER,
401
345
  VIEW_LEAVE,
402
346
  SOURCE,
@@ -933,8 +877,6 @@ declare type PlayerCustomEventName = keyof PlayerCustomEventsDetailMap;
933
877
  declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap & {
934
878
  [REAP]: ReapEventDetail;
935
879
  [SOURCE]: SourceEventDetail;
936
- [CUEPOINT_START]: CuePointStartEventDetail;
937
- [CUEPOINT_END]: CuePointEndEventDetail;
938
880
  [MOUNT]: MountEventDetail;
939
881
  [LIVE]: LiveEventDetail;
940
882
  [DVR]: DvrEventDetail;
@@ -967,16 +909,6 @@ declare type PlayerCustomEventsOverloads = {
967
909
  /* Excluded from this release type: on */
968
910
  /* Excluded from this release type: on */
969
911
  /* Excluded from this release type: on */
970
- /**
971
- * TODO - move to Cuepoints? Sent when a configured cuepoint is entered.
972
- */
973
- on(event: typeof CUEPOINT_START, // TODO: move to Cuepoints
974
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_START]>) => void): Player;
975
- /**
976
- * Sent when a configured cuepoint is terminated.
977
- */
978
- on(event: typeof CUEPOINT_END, // TODO: move to Cuepoints
979
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_END]>) => void): Player;
980
912
  /**
981
913
  * Sent when the player becomes visible for the user.
982
914
  */
@@ -161,42 +161,39 @@ declare type ContextMenuEventDetail = null;
161
161
  * @public
162
162
  */
163
163
  export declare type CueAttrs = {
164
+ /**
165
+ * Numeric value in seconds (or fractions) to add cuepoint.
166
+ */
164
167
  startTime: number;
168
+ /**
169
+ * Numeric value in seconds (or fractions) to remove cuepoint.
170
+ */
165
171
  endTime: number;
172
+ /**
173
+ * Numeric value in seconds (or fractions) to remove cuepoint.
174
+ */
166
175
  text?: string;
167
- id?: string;
176
+ /* Excluded from this release type: id */
168
177
  };
169
178
 
170
179
  /**
171
180
  * @public
172
181
  * when a cuepoint becomes inactive
173
182
  */
174
- declare const /**
175
- @public
176
- * when a new player is inserted into the HTML
177
- */ /**
178
- * @public
179
- * when a cuepoint becomes inactive
180
- */
181
- CUEPOINT_END = "cuepointend";
183
+ declare const CUEPOINT_END = "cuepointend";
182
184
 
183
185
  /**
184
186
  * @public
185
187
  * when a cuepoint is active
186
188
  */
187
- declare const /**
188
- @public
189
- * when a new player is inserted into the HTML
190
- */ /**
191
- * @public
192
- * when a cuepoint is active
193
- */
194
- CUEPOINT_START = "cuepointstart";
189
+ declare const CUEPOINT_START = "cuepointstart";
195
190
 
196
191
  /**
197
192
  * @public
198
193
  */
199
- declare type CuePointEndEventDetail = null;
194
+ export declare type CuepointEndEventDetail = {
195
+ cuepoint: CueAttrs;
196
+ };
200
197
 
201
198
  /**
202
199
  * @public
@@ -209,35 +206,78 @@ export declare type CuepointList = Array<CueAttrs>;
209
206
  * you cannot rely on them existing until
210
207
  * this event is emitted
211
208
  */
212
- declare const /**
213
- @public
214
- * when a new player is inserted into the HTML
215
- */ /**
209
+ declare const CUEPOINTS = "cuepoints";
210
+
211
+ /**
216
212
  * @public
217
- * cuepoints parsing is asynchronous
218
- * you cannot rely on them existing until
219
- * this event is emitted
213
+ * This plugin adds Cuepoint support to Wowza Flowplayer.
214
+ * See {@link https://developer.wowza.com/docs/wowza-flowplayer/plugins/cuepoints/| Official documentation}
220
215
  */
221
- CUEPOINTS = "cuepoints";
216
+ declare const Cuepoints: PluginCtor<CuepointsConfig, CuepointsPlayer> & CuepointsAPI;
217
+ export default Cuepoints;
222
218
 
223
219
  /**
224
220
  * @public
225
221
  */
226
- declare const Cuepoints: PluginCtor<CuepointsConfig, Player>;
227
- export default Cuepoints;
222
+ export declare type CuepointsAPI = {
223
+ events: CuepointsEvents;
224
+ };
228
225
 
229
226
  /**
230
227
  * @public
231
228
  */
232
229
  export declare type CuepointsConfig = ConfigWith<{
230
+ /**
231
+ * Configure cuepoints for Cuepoints plugin
232
+ */
233
233
  cuepoints?: CuepointList;
234
+ /**
235
+ * Display configuration for Config plugin. Whether to show the cuepoints in the timeline. Can be styled through the `.fp-cuepoint` CSS class
236
+ */
234
237
  draw_cuepoints?: boolean;
235
238
  }>;
236
239
 
237
240
  /**
238
241
  * @public
239
242
  */
240
- declare type CuePointStartEventDetail = null;
243
+ export declare type CuepointsEventDetail = {
244
+ cuepoints?: CueAttrs[];
245
+ };
246
+
247
+ /**
248
+ * @public
249
+ */
250
+ export declare type CuepointsEvents = typeof events_2;
251
+
252
+ /**
253
+ * @public
254
+ */
255
+ export declare type CuepointsPlayer = PlayerWith<{
256
+ opts: CuepointsConfig;
257
+ /**
258
+ * Sent when the start time for a cuepoint is passed.
259
+ */
260
+ on(event: CuepointsEvents["CUEPOINT_START"], handler: (e: FPEvent<CuepointStartEventDetail>) => void): Player;
261
+ /**
262
+ * Sent when a configured cuepoint is terminated.
263
+ */
264
+ on(event: CuepointsEvents["CUEPOINT_END"], handler: (e: FPEvent<CuepointEndEventDetail>) => void): Player;
265
+ /**
266
+ * Sent when new cuepoints are added.
267
+ */
268
+ on(event: CuepointsEvents["CUEPOINTS"], handler: (e: FPEvent<CuepointsEventDetail>) => void): Player;
269
+ /**
270
+ * Adds or removes cuepoints while playing
271
+ */
272
+ emit(event: CuepointsEvents["CUEPOINTS"], data?: CuepointsEventDetail): Player;
273
+ }>;
274
+
275
+ /**
276
+ * @public
277
+ */
278
+ export declare type CuepointStartEventDetail = {
279
+ cuepoint: CueAttrs;
280
+ };
241
281
 
242
282
  /**
243
283
  * @public
@@ -410,9 +450,6 @@ declare namespace events {
410
450
  SEEKED,
411
451
  SEEKING_2 as SEEKING,
412
452
  DURATION_CHANGE,
413
- CUEPOINTS,
414
- CUEPOINT_START,
415
- CUEPOINT_END,
416
453
  VIEW_ENTER,
417
454
  VIEW_LEAVE,
418
455
  SOURCE,
@@ -430,6 +467,14 @@ declare namespace events {
430
467
  }
431
468
  }
432
469
 
470
+ declare namespace events_2 {
471
+ export {
472
+ CUEPOINTS,
473
+ CUEPOINT_START,
474
+ CUEPOINT_END
475
+ }
476
+ }
477
+
433
478
  declare type ExtractPureAPI<T> = T extends PlayerWith<infer PureAPI> ? PureAPI : never;
434
479
 
435
480
  /**
@@ -942,8 +987,6 @@ declare type PlayerCustomEventName = keyof PlayerCustomEventsDetailMap;
942
987
  declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap & {
943
988
  [REAP]: ReapEventDetail;
944
989
  [SOURCE]: SourceEventDetail;
945
- [CUEPOINT_START]: CuePointStartEventDetail;
946
- [CUEPOINT_END]: CuePointEndEventDetail;
947
990
  [MOUNT]: MountEventDetail;
948
991
  [LIVE]: LiveEventDetail;
949
992
  [DVR]: DvrEventDetail;
@@ -976,16 +1019,6 @@ declare type PlayerCustomEventsOverloads = {
976
1019
  /* Excluded from this release type: on */
977
1020
  /* Excluded from this release type: on */
978
1021
  /* Excluded from this release type: on */
979
- /**
980
- * TODO - move to Cuepoints? Sent when a configured cuepoint is entered.
981
- */
982
- on(event: typeof CUEPOINT_START, // TODO: move to Cuepoints
983
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_START]>) => void): Player;
984
- /**
985
- * Sent when a configured cuepoint is terminated.
986
- */
987
- on(event: typeof CUEPOINT_END, // TODO: move to Cuepoints
988
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_END]>) => void): Player;
989
1022
  /**
990
1023
  * Sent when the player becomes visible for the user.
991
1024
  */
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).flowplayer=e.flowplayer||{},e.flowplayer.cuepoints=t())}(this,(function(){"use strict";const e=(e,t)=>new(((e,t)=>{const n=e.get(t);if(!n)throw new Error(`no flowplayer component with the name ${t} exists`);const o=window.customElements.get(t);if(!o)throw new Error(`no default flowplayer component with the name ${t} exists`);const r=window.customElements.get(n);return"function"!=typeof r?o:r})(e._customElements,t))(e);function t(e,t,n){const o=function(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return t&&Object.defineProperty(n,"data",{get:()=>t}),n}(t,n);return e.dispatchEvent(o),e}function n(e){const t=e._customElements.get("flowplayer-cue");t&&Array.from(e.root.querySelectorAll(t)).forEach(e=>{e.remove()})}function o(n,o){var r;const i=function(e,t){const n=e._customElements.get(t);return n&&e.root.querySelector(n)||void 0}(n,"flowplayer-timeline-bar"),s=n.duration,c=null===(r=null==n?void 0:n.opts)||void 0===r?void 0:r.draw_cuepoints;i&&!n.hasState("is-live")&&isFinite(s)&&Array.isArray(o)&&c&&o.forEach(o=>{if(void 0===o.startTime||o.startTime<0||!o.endTime||o.startTime===o.endTime)return;const r=Math.round(o.startTime/s*1e3)/10;if(r>100||r<0)return;const c=o.endTime-o.startTime,u=e(n,"flowplayer-cue");t(u,"cue:attributes",{left:r+"%",width:c/s*100+"%"}),i.append(u)})}!function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}}();class FlowplayerComponent extends HTMLElement{constructor(e){super(),this.player=e}}class CueComponent extends FlowplayerComponent{constructor(e){super(e),this.className="fp-cuepoint",this.addEventListener("cue:attributes",e=>{this.style.setProperty("left",e.detail.left),this.style.setProperty("width",e.detail.width)})}}return function(e,t){if("object"==typeof exports&&"undefined"!=typeof module)return t;if(null===document.currentScript)return t;"flowplayer"in e||(e.flowplayer={extensions:[]});const n=e.flowplayer;return"function"==typeof n?(n(t),t):(Array.isArray(n.extensions)||(n.extensions=[]),~n.extensions.indexOf(t)||n.extensions.push(t),t)}(window,class Cuepoints{constructor(e){((e,t,n)=>{window.customElements.get(t)||window.customElements.define(t,n),e.customElements.get(t)||e.customElements.set(t,t)})(e,"flowplayer-cue",CueComponent)}init(e,t,r){if(!r.reaper)return;const i=r.addTextTrack("metadata","fp-cuepoints");i.removeCue=function(e){this===Cuepoints&&TextTrack.prototype.removeCue.call(i,e)},r.reaper.set("cuepoints",[]),r.on("config",(function(t){var n;if(!r.reaper)return;(null===(n=t.data)||void 0===n?void 0:n.cuepoints)!==r.reaper.get("cuepoints")&&r.emit("cuepoints",{cuepoints:e.cuepoints})})),r.on("durationchange",()=>{r.reaper&&(n(r),o(r,r.reaper.get("cuepoints")))}),r.on("cuepoints",e=>{var t;if(!r.reaper)return;const s=(null===(t=e.data)||void 0===t?void 0:t.cuepoints)||[];r.reaper.set("cuepoints",s),Array.from(i.cues||{length:0}).forEach(e=>i.removeCue.call(this.constructor,e)),n(r),s.map((function(e){return function(e,t){try{const n=new VTTCue(t.startTime,t.endTime,t.text||"");return n.id=t.id||"",n.onenter=e.emit.bind(e,"cuepointstart",{cuepoint:t}),n.onexit=e.emit.bind(e,"cuepointend",{cuepoint:t}),n}catch(e){if(t.startTime===t.endTime)return console.warn("Cue(:error)> startTime cannot equal endTime on this platform");throw e}}(r,e)})).forEach((function(e){e&&i.addCue(e)})),o(r,s)})}})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e="undefined"!=typeof globalThis?globalThis:e||self).flowplayer=e.flowplayer||{},e.flowplayer.cuepoints=t())}(this,(function(){"use strict";var e=Object.freeze({__proto__:null,CUEPOINTS:"cuepoints",CUEPOINT_START:"cuepointstart",CUEPOINT_END:"cuepointend"});const t=(e,t)=>new(((e,t)=>{const n=e.get(t);if(!n)throw new Error(`no flowplayer component with the name ${t} exists`);const o=window.customElements.get(t);if(!o)throw new Error(`no default flowplayer component with the name ${t} exists`);const r=window.customElements.get(n);return"function"!=typeof r?o:r})(e._customElements,t))(e);function n(e,t,n){const o=function(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return t&&Object.defineProperty(n,"data",{get:()=>t}),n}(t,n);return e.dispatchEvent(o),e}function o(e){const t=e._customElements.get("flowplayer-cue");t&&Array.from(e.root.querySelectorAll(t)).forEach(e=>{e.remove()})}function r(e,o){var r;const i=function(e,t){const n=e._customElements.get(t);return n&&e.root.querySelector(n)||void 0}(e,"flowplayer-timeline-bar"),s=e.duration,c=null===(r=null==e?void 0:e.opts)||void 0===r?void 0:r.draw_cuepoints;i&&!e.hasState("is-live")&&isFinite(s)&&Array.isArray(o)&&c&&o.forEach(o=>{if(void 0===o.startTime||o.startTime<0||!o.endTime||o.startTime===o.endTime)return;const r=Math.round(o.startTime/s*1e3)/10;if(r>100||r<0)return;const c=o.endTime-o.startTime,u=t(e,"flowplayer-cue");n(u,"cue:attributes",{left:r+"%",width:c/s*100+"%"}),i.append(u)})}!function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}}();class FlowplayerComponent extends HTMLElement{constructor(e){super(),this.player=e}}class CueComponent extends FlowplayerComponent{constructor(e){super(e),this.className="fp-cuepoint",this.addEventListener("cue:attributes",e=>{this.style.setProperty("left",e.detail.left),this.style.setProperty("width",e.detail.width)})}}var i;const s=((i=class Cuepoints{constructor(e){((e,t,n)=>{window.customElements.get(t)||window.customElements.define(t,n),e.customElements.get(t)||e.customElements.set(t,t)})(e,"flowplayer-cue",CueComponent)}init(e,t,n){if(!n.reaper)return;const i=n.addTextTrack("metadata","fp-cuepoints");i.removeCue=function(e){this===Cuepoints&&TextTrack.prototype.removeCue.call(i,e)},n.reaper.set("cuepoints",[]),n.on("config",(function(t){var o;if(!n.reaper)return;(null===(o=t.data)||void 0===o?void 0:o.cuepoints)!==n.reaper.get("cuepoints")&&n.emit("cuepoints",{cuepoints:e.cuepoints})})),n.on("durationchange",()=>{n.reaper&&(o(n),r(n,n.reaper.get("cuepoints")))}),n.on("cuepoints",e=>{var t;if(!n.reaper)return;const s=(null===(t=e.data)||void 0===t?void 0:t.cuepoints)||[];n.reaper.set("cuepoints",s),Array.from(i.cues||{length:0}).forEach(e=>i.removeCue.call(this.constructor,e)),o(n),s.map((function(e){return function(e,t){try{const n=new VTTCue(t.startTime,t.endTime,t.text||"");return n.id=t.id||"",n.onenter=e.emit.bind(e,"cuepointstart",{cuepoint:t}),n.onexit=e.emit.bind(e,"cuepointend",{cuepoint:t}),n}catch(e){if(t.startTime===t.endTime)return console.warn("Cue(:error)> startTime cannot equal endTime on this platform");throw e}}(n,e)})).forEach((function(e){e&&i.addCue(e)})),r(n,s)})}}).events=e,i);return function(e,t){if("object"==typeof exports&&"undefined"!=typeof module)return t;if(null===document.currentScript)return t;"flowplayer"in e||(e.flowplayer={extensions:[]});const n=e.flowplayer;return"function"==typeof n?(n(t),t):(Array.isArray(n.extensions)||(n.extensions=[]),~n.extensions.indexOf(t)||n.extensions.push(t),t)}(window,s)}));
package/plugins/dash.d.ts CHANGED
@@ -173,59 +173,6 @@ CONTEXT_MENU = "contextmenu";
173
173
  */
174
174
  declare type ContextMenuEventDetail = null;
175
175
 
176
- /**
177
- * @public
178
- * when a cuepoint becomes inactive
179
- */
180
- declare const /**
181
- @public
182
- * when a new player is inserted into the HTML
183
- */ /**
184
- * @public
185
- * when a cuepoint becomes inactive
186
- */
187
- CUEPOINT_END = "cuepointend";
188
-
189
- /**
190
- * @public
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
- * when a cuepoint is active
199
- */
200
- CUEPOINT_START = "cuepointstart";
201
-
202
- /**
203
- * @public
204
- */
205
- declare type CuePointEndEventDetail = null;
206
-
207
- /**
208
- * @public
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
- * cuepoints parsing is asynchronous
219
- * you cannot rely on them existing until
220
- * this event is emitted
221
- */
222
- CUEPOINTS = "cuepoints";
223
-
224
- /**
225
- * @public
226
- */
227
- declare type CuePointStartEventDetail = null;
228
-
229
176
  /**
230
177
  * @public
231
178
  * This plugin implements an MPEG-DASH loader plugin which is capable of playing .mpd source files.
@@ -448,9 +395,6 @@ declare namespace events {
448
395
  SEEKED,
449
396
  SEEKING_2 as SEEKING,
450
397
  DURATION_CHANGE,
451
- CUEPOINTS,
452
- CUEPOINT_START,
453
- CUEPOINT_END,
454
398
  VIEW_ENTER,
455
399
  VIEW_LEAVE,
456
400
  SOURCE,
@@ -980,8 +924,6 @@ declare type PlayerCustomEventName = keyof PlayerCustomEventsDetailMap;
980
924
  declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap & {
981
925
  [REAP]: ReapEventDetail;
982
926
  [SOURCE]: SourceEventDetail;
983
- [CUEPOINT_START]: CuePointStartEventDetail;
984
- [CUEPOINT_END]: CuePointEndEventDetail;
985
927
  [MOUNT]: MountEventDetail;
986
928
  [LIVE]: LiveEventDetail;
987
929
  [DVR]: DvrEventDetail;
@@ -1014,16 +956,6 @@ declare type PlayerCustomEventsOverloads = {
1014
956
  /* Excluded from this release type: on */
1015
957
  /* Excluded from this release type: on */
1016
958
  /* Excluded from this release type: on */
1017
- /**
1018
- * TODO - move to Cuepoints? Sent when a configured cuepoint is entered.
1019
- */
1020
- on(event: typeof CUEPOINT_START, // TODO: move to Cuepoints
1021
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_START]>) => void): Player;
1022
- /**
1023
- * Sent when a configured cuepoint is terminated.
1024
- */
1025
- on(event: typeof CUEPOINT_END, // TODO: move to Cuepoints
1026
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_END]>) => void): Player;
1027
959
  /**
1028
960
  * Sent when the player becomes visible for the user.
1029
961
  */
package/plugins/drm.d.ts CHANGED
@@ -157,59 +157,6 @@ CONTEXT_MENU = "contextmenu";
157
157
  */
158
158
  declare type ContextMenuEventDetail = null;
159
159
 
160
- /**
161
- * @public
162
- * when a cuepoint becomes inactive
163
- */
164
- declare const /**
165
- @public
166
- * when a new player is inserted into the HTML
167
- */ /**
168
- * @public
169
- * when a cuepoint becomes inactive
170
- */
171
- CUEPOINT_END = "cuepointend";
172
-
173
- /**
174
- * @public
175
- * when a cuepoint is active
176
- */
177
- declare const /**
178
- @public
179
- * when a new player is inserted into the HTML
180
- */ /**
181
- * @public
182
- * when a cuepoint is active
183
- */
184
- CUEPOINT_START = "cuepointstart";
185
-
186
- /**
187
- * @public
188
- */
189
- declare type CuePointEndEventDetail = null;
190
-
191
- /**
192
- * @public
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
- * cuepoints parsing is asynchronous
203
- * you cannot rely on them existing until
204
- * this event is emitted
205
- */
206
- CUEPOINTS = "cuepoints";
207
-
208
- /**
209
- * @public
210
- */
211
- declare type CuePointStartEventDetail = null;
212
-
213
160
  /**
214
161
  * @public
215
162
  */
@@ -387,9 +334,6 @@ declare namespace events {
387
334
  SEEKED,
388
335
  SEEKING_2 as SEEKING,
389
336
  DURATION_CHANGE,
390
- CUEPOINTS,
391
- CUEPOINT_START,
392
- CUEPOINT_END,
393
337
  VIEW_ENTER,
394
338
  VIEW_LEAVE,
395
339
  SOURCE,
@@ -919,8 +863,6 @@ declare type PlayerCustomEventName = keyof PlayerCustomEventsDetailMap;
919
863
  declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap & {
920
864
  [REAP]: ReapEventDetail;
921
865
  [SOURCE]: SourceEventDetail;
922
- [CUEPOINT_START]: CuePointStartEventDetail;
923
- [CUEPOINT_END]: CuePointEndEventDetail;
924
866
  [MOUNT]: MountEventDetail;
925
867
  [LIVE]: LiveEventDetail;
926
868
  [DVR]: DvrEventDetail;
@@ -953,16 +895,6 @@ declare type PlayerCustomEventsOverloads = {
953
895
  /* Excluded from this release type: on */
954
896
  /* Excluded from this release type: on */
955
897
  /* Excluded from this release type: on */
956
- /**
957
- * TODO - move to Cuepoints? Sent when a configured cuepoint is entered.
958
- */
959
- on(event: typeof CUEPOINT_START, // TODO: move to Cuepoints
960
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_START]>) => void): Player;
961
- /**
962
- * Sent when a configured cuepoint is terminated.
963
- */
964
- on(event: typeof CUEPOINT_END, // TODO: move to Cuepoints
965
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_END]>) => void): Player;
966
898
  /**
967
899
  * Sent when the player becomes visible for the user.
968
900
  */
@@ -157,59 +157,6 @@ CONTEXT_MENU = "contextmenu";
157
157
  */
158
158
  declare type ContextMenuEventDetail = null;
159
159
 
160
- /**
161
- * @public
162
- * when a cuepoint becomes inactive
163
- */
164
- declare const /**
165
- @public
166
- * when a new player is inserted into the HTML
167
- */ /**
168
- * @public
169
- * when a cuepoint becomes inactive
170
- */
171
- CUEPOINT_END = "cuepointend";
172
-
173
- /**
174
- * @public
175
- * when a cuepoint is active
176
- */
177
- declare const /**
178
- @public
179
- * when a new player is inserted into the HTML
180
- */ /**
181
- * @public
182
- * when a cuepoint is active
183
- */
184
- CUEPOINT_START = "cuepointstart";
185
-
186
- /**
187
- * @public
188
- */
189
- declare type CuePointEndEventDetail = null;
190
-
191
- /**
192
- * @public
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
- * cuepoints parsing is asynchronous
203
- * you cannot rely on them existing until
204
- * this event is emitted
205
- */
206
- CUEPOINTS = "cuepoints";
207
-
208
- /**
209
- * @public
210
- */
211
- declare type CuePointStartEventDetail = null;
212
-
213
160
  /**
214
161
  * @public
215
162
  */
@@ -394,9 +341,6 @@ declare namespace events {
394
341
  SEEKED,
395
342
  SEEKING_2 as SEEKING,
396
343
  DURATION_CHANGE,
397
- CUEPOINTS,
398
- CUEPOINT_START,
399
- CUEPOINT_END,
400
344
  VIEW_ENTER,
401
345
  VIEW_LEAVE,
402
346
  SOURCE,
@@ -926,8 +870,6 @@ declare type PlayerCustomEventName = keyof PlayerCustomEventsDetailMap;
926
870
  declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap & {
927
871
  [REAP]: ReapEventDetail;
928
872
  [SOURCE]: SourceEventDetail;
929
- [CUEPOINT_START]: CuePointStartEventDetail;
930
- [CUEPOINT_END]: CuePointEndEventDetail;
931
873
  [MOUNT]: MountEventDetail;
932
874
  [LIVE]: LiveEventDetail;
933
875
  [DVR]: DvrEventDetail;
@@ -960,16 +902,6 @@ declare type PlayerCustomEventsOverloads = {
960
902
  /* Excluded from this release type: on */
961
903
  /* Excluded from this release type: on */
962
904
  /* Excluded from this release type: on */
963
- /**
964
- * TODO - move to Cuepoints? Sent when a configured cuepoint is entered.
965
- */
966
- on(event: typeof CUEPOINT_START, // TODO: move to Cuepoints
967
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_START]>) => void): Player;
968
- /**
969
- * Sent when a configured cuepoint is terminated.
970
- */
971
- on(event: typeof CUEPOINT_END, // TODO: move to Cuepoints
972
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_END]>) => void): Player;
973
905
  /**
974
906
  * Sent when the player becomes visible for the user.
975
907
  */
package/plugins/fas.d.ts CHANGED
@@ -158,59 +158,6 @@ CONTEXT_MENU = "contextmenu";
158
158
  */
159
159
  declare type ContextMenuEventDetail = null;
160
160
 
161
- /**
162
- * @public
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
- * when a cuepoint becomes inactive
171
- */
172
- CUEPOINT_END = "cuepointend";
173
-
174
- /**
175
- * @public
176
- * when a cuepoint is active
177
- */
178
- declare const /**
179
- @public
180
- * when a new player is inserted into the HTML
181
- */ /**
182
- * @public
183
- * when a cuepoint is active
184
- */
185
- CUEPOINT_START = "cuepointstart";
186
-
187
- /**
188
- * @public
189
- */
190
- declare type CuePointEndEventDetail = null;
191
-
192
- /**
193
- * @public
194
- * cuepoints parsing is asynchronous
195
- * you cannot rely on them existing until
196
- * this event is emitted
197
- */
198
- declare const /**
199
- @public
200
- * when a new player is inserted into the HTML
201
- */ /**
202
- * @public
203
- * cuepoints parsing is asynchronous
204
- * you cannot rely on them existing until
205
- * this event is emitted
206
- */
207
- CUEPOINTS = "cuepoints";
208
-
209
- /**
210
- * @public
211
- */
212
- declare type CuePointStartEventDetail = null;
213
-
214
161
  /**
215
162
  * @public
216
163
  */
@@ -382,9 +329,6 @@ declare namespace events {
382
329
  SEEKED,
383
330
  SEEKING_2 as SEEKING,
384
331
  DURATION_CHANGE,
385
- CUEPOINTS,
386
- CUEPOINT_START,
387
- CUEPOINT_END,
388
332
  VIEW_ENTER,
389
333
  VIEW_LEAVE,
390
334
  SOURCE,
@@ -929,8 +873,6 @@ declare type PlayerCustomEventName = keyof PlayerCustomEventsDetailMap;
929
873
  declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap & {
930
874
  [REAP]: ReapEventDetail;
931
875
  [SOURCE]: SourceEventDetail;
932
- [CUEPOINT_START]: CuePointStartEventDetail;
933
- [CUEPOINT_END]: CuePointEndEventDetail;
934
876
  [MOUNT]: MountEventDetail;
935
877
  [LIVE]: LiveEventDetail;
936
878
  [DVR]: DvrEventDetail;
@@ -963,16 +905,6 @@ declare type PlayerCustomEventsOverloads = {
963
905
  /* Excluded from this release type: on */
964
906
  /* Excluded from this release type: on */
965
907
  /* Excluded from this release type: on */
966
- /**
967
- * TODO - move to Cuepoints? Sent when a configured cuepoint is entered.
968
- */
969
- on(event: typeof CUEPOINT_START, // TODO: move to Cuepoints
970
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_START]>) => void): Player;
971
- /**
972
- * Sent when a configured cuepoint is terminated.
973
- */
974
- on(event: typeof CUEPOINT_END, // TODO: move to Cuepoints
975
- handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CUEPOINT_END]>) => void): Player;
976
908
  /**
977
909
  * Sent when the player becomes visible for the user.
978
910
  */