@vouchfor/embeds 0.0.0-experiment.9eba968 → 0.0.0-experiment.a2cd27b

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,9 @@ declare class TrackingController implements ReactiveController {
9
9
  private _hasPlayed;
10
10
  private _hasLoaded;
11
11
  private _answersViewed;
12
- private _streamedTime;
13
- private _streamedPrevTimestamp;
12
+ private _streamStartTime;
13
+ private _streamLatestTime;
14
+ private _currentlyPlayingVideo;
14
15
  constructor(host: EmbedHost);
15
16
  private _findVouchId;
16
17
  private _createVisitor;
@@ -5,6 +5,7 @@ import type { Environment } from '../../utils/env';
5
5
  type EmbedProps = Pick<MediaPlayerProps, 'data' | 'aspectRatio' | 'preload' | 'autoplay' | 'controls'> & {
6
6
  env: Environment;
7
7
  apiKey: string;
8
+ disableTracking?: boolean;
8
9
  trackingSource?: string;
9
10
  vouchId?: string;
10
11
  templateId?: string;
@@ -16,6 +17,7 @@ declare class Embed extends LitElement {
16
17
  templateId: EmbedProps['templateId'];
17
18
  env: EmbedProps['env'];
18
19
  apiKey: EmbedProps['apiKey'];
20
+ disableTracking: EmbedProps['disableTracking'];
19
21
  trackingSource: EmbedProps['trackingSource'];
20
22
  controls: EmbedProps['controls'];
21
23
  preload: EmbedProps['preload'];