@vouchfor/embeds 0.0.0-experiment.93ea548 → 0.0.0-experiment.9e95139

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import { LitElement } from 'lit';
2
- import type { Scene, TemplateInstance } from '@vouchfor/canvas-video';
2
+ import type { Scene, Scenes, TemplateInstance } from '@vouchfor/canvas-video';
3
3
  import type { MediaPlayer, MediaPlayerProps } from '@vouchfor/media-player';
4
4
  import type { Environment } from '../../utils/env';
5
5
  type EmbedProps = Pick<MediaPlayerProps, 'data' | 'aspectRatio' | 'preload' | 'autoplay' | 'controls'> & {
@@ -9,12 +9,14 @@ type EmbedProps = Pick<MediaPlayerProps, 'data' | 'aspectRatio' | 'preload' | 'a
9
9
  trackingSource?: string;
10
10
  vouchId?: string;
11
11
  templateId?: string;
12
+ questionIndexes?: number[];
12
13
  };
13
14
  declare class Embed extends LitElement {
14
15
  private _mediaPlayerRef;
15
16
  data: EmbedProps['data'];
16
17
  vouchId: EmbedProps['vouchId'];
17
18
  templateId: EmbedProps['templateId'];
19
+ questionIndexes: EmbedProps['questionIndexes'];
18
20
  env: EmbedProps['env'];
19
21
  apiKey: EmbedProps['apiKey'];
20
22
  disableTracking: EmbedProps['disableTracking'];
@@ -45,6 +47,7 @@ declare class Embed extends LitElement {
45
47
  get muted(): boolean;
46
48
  get scene(): Scene | null;
47
49
  get scenes(): Scene[];
50
+ get sceneConfig(): Scenes | null;
48
51
  get videoState(): import("@vouchfor/media-player/dist/src/components/MediaPlayer/controllers/scenes").VideoStateMap | undefined;
49
52
  get mediaPlayer(): MediaPlayer | undefined;
50
53
  play(): void;