@vindral/web-sdk 3.3.2 → 3.3.4

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/index.d.ts CHANGED
@@ -55,6 +55,7 @@ declare class Emitter<TEvents, TEmits = TEvents, ArgLessEvents extends VoidKeys<
55
55
  private add;
56
56
  }
57
57
  interface MinMaxAverage {
58
+ last: number;
58
59
  /**
59
60
  * Average value over a given interval.
60
61
  */
@@ -1285,6 +1286,10 @@ export declare class Vindral extends Emitter<PublicVindralEvents> {
1285
1286
  * Set the current channelId
1286
1287
  *
1287
1288
  * Possible channels to set are available from [[channels]]
1289
+ *
1290
+ * Note that the following scenarios are not possible right now:
1291
+ * - switching channel from a channel with audio to a channel without audio (unless audio only mode is active)
1292
+ * - switching channel from a channel with video to a channel without video (unless video only mode is active)
1288
1293
  */
1289
1294
  set channelId(channelId: string);
1290
1295
  /**
@@ -1601,6 +1606,15 @@ export interface PlayerOptions {
1601
1606
  * Enable or disable the AirPlay button
1602
1607
  */
1603
1608
  airPlayButtonEnabled?: boolean;
1609
+ /**
1610
+ * Enable or disable the play overlay
1611
+ */
1612
+ playOverlayEnabled?: boolean;
1613
+ /**
1614
+ * Enable or disable the buffering overlay
1615
+
1616
+ */
1617
+ bufferingOverlayEnabled?: boolean;
1604
1618
  }
1605
1619
  /**
1606
1620
  * Represents a Vindral player
@@ -1629,8 +1643,8 @@ export declare class Player {
1629
1643
  private options;
1630
1644
  private state;
1631
1645
  private playerElement;
1632
- private bufferingOverlay;
1633
- private playOverlay;
1646
+ private bufferingOverlay?;
1647
+ private playOverlay?;
1634
1648
  private castOverlay;
1635
1649
  private channelSelectionList?;
1636
1650
  private bar;