@annoto/widget-api 1.13.1 → 2.10.0-alpha.0

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 (116) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/CONTRIBUTING.md +11 -0
  3. package/ISSUE_TEMPLATE.md +63 -0
  4. package/README.md +1 -1
  5. package/dist/{api → build_esm/api}/device-detector.d.ts +5 -1
  6. package/dist/build_esm/api/device-detector.d.ts.map +1 -0
  7. package/dist/build_esm/api/device-detector.js +2 -0
  8. package/dist/build_esm/api/device-detector.js.map +1 -0
  9. package/dist/build_esm/api/index.d.ts +40 -0
  10. package/dist/build_esm/api/index.d.ts.map +1 -0
  11. package/dist/{api → build_esm/api}/index.js +1 -1
  12. package/dist/build_esm/api/index.js.map +1 -0
  13. package/dist/build_esm/api/metadata.d.ts +45 -0
  14. package/dist/build_esm/api/metadata.d.ts.map +1 -0
  15. package/dist/build_esm/api/metadata.js +2 -0
  16. package/dist/build_esm/api/metadata.js.map +1 -0
  17. package/dist/{config → build_esm/config}/backend.d.ts +1 -0
  18. package/dist/build_esm/config/backend.d.ts.map +1 -0
  19. package/dist/build_esm/config/backend.js +2 -0
  20. package/dist/build_esm/config/backend.js.map +1 -0
  21. package/dist/build_esm/config/features.d.ts +46 -0
  22. package/dist/build_esm/config/features.d.ts.map +1 -0
  23. package/dist/build_esm/config/features.js +2 -0
  24. package/dist/build_esm/config/features.js.map +1 -0
  25. package/dist/build_esm/config/group-details.d.ts +28 -0
  26. package/dist/build_esm/config/group-details.d.ts.map +1 -0
  27. package/dist/build_esm/config/group-details.js +2 -0
  28. package/dist/build_esm/config/group-details.js.map +1 -0
  29. package/dist/build_esm/config/hooks.d.ts +71 -0
  30. package/dist/build_esm/config/hooks.d.ts.map +1 -0
  31. package/dist/build_esm/config/hooks.js +2 -0
  32. package/dist/build_esm/config/hooks.js.map +1 -0
  33. package/dist/build_esm/config/index.d.ts +88 -0
  34. package/dist/build_esm/config/index.d.ts.map +1 -0
  35. package/dist/{config → build_esm/config}/index.js +7 -5
  36. package/dist/build_esm/config/index.js.map +1 -0
  37. package/dist/{config → build_esm/config}/launch-source.d.ts +2 -1
  38. package/dist/build_esm/config/launch-source.d.ts.map +1 -0
  39. package/dist/build_esm/config/launch-source.js +2 -0
  40. package/dist/build_esm/config/launch-source.js.map +1 -0
  41. package/dist/build_esm/config/media-details.d.ts +28 -0
  42. package/dist/build_esm/config/media-details.d.ts.map +1 -0
  43. package/dist/build_esm/config/media-details.js +2 -0
  44. package/dist/build_esm/config/media-details.js.map +1 -0
  45. package/dist/build_esm/config/timeline.d.ts +30 -0
  46. package/dist/build_esm/config/timeline.d.ts.map +1 -0
  47. package/dist/build_esm/config/timeline.js +2 -0
  48. package/dist/build_esm/config/timeline.js.map +1 -0
  49. package/dist/build_esm/config/ux.d.ts +153 -0
  50. package/dist/build_esm/config/ux.d.ts.map +1 -0
  51. package/dist/build_esm/config/ux.js +2 -0
  52. package/dist/build_esm/config/ux.js.map +1 -0
  53. package/dist/build_esm/config/widget.d.ts +70 -0
  54. package/dist/build_esm/config/widget.d.ts.map +1 -0
  55. package/dist/build_esm/config/widget.js +2 -0
  56. package/dist/build_esm/config/widget.js.map +1 -0
  57. package/dist/{events → build_esm/events}/index.d.ts +2 -0
  58. package/dist/build_esm/events/index.d.ts.map +1 -0
  59. package/dist/{events → build_esm/events}/index.js +2 -0
  60. package/dist/build_esm/events/index.js.map +1 -0
  61. package/dist/build_esm/events/my-activity.d.ts +48 -0
  62. package/dist/build_esm/events/my-activity.d.ts.map +1 -0
  63. package/dist/build_esm/events/my-activity.js +2 -0
  64. package/dist/build_esm/events/my-activity.js.map +1 -0
  65. package/dist/{events → build_esm/events}/stats-event.d.ts +5 -0
  66. package/dist/build_esm/events/stats-event.d.ts.map +1 -0
  67. package/dist/{events → build_esm/events}/stats-event.js +1 -0
  68. package/dist/build_esm/events/stats-event.js.map +1 -0
  69. package/dist/{events → build_esm/events}/ux-event.d.ts +3 -2
  70. package/dist/build_esm/events/ux-event.d.ts.map +1 -0
  71. package/dist/build_esm/events/ux-event.js +2 -0
  72. package/dist/build_esm/events/ux-event.js.map +1 -0
  73. package/dist/{events → build_esm/events}/video-benchmark-event.d.ts +5 -0
  74. package/dist/build_esm/events/video-benchmark-event.d.ts.map +1 -0
  75. package/dist/build_esm/events/video-benchmark-event.js +2 -0
  76. package/dist/build_esm/events/video-benchmark-event.js.map +1 -0
  77. package/dist/build_esm/index.d.ts +22 -0
  78. package/dist/build_esm/index.d.ts.map +1 -0
  79. package/dist/build_esm/index.js +8 -0
  80. package/dist/build_esm/index.js.map +1 -0
  81. package/dist/{player-adapter → build_esm/player-adapter}/controls-descriptor.d.ts +21 -1
  82. package/dist/build_esm/player-adapter/controls-descriptor.d.ts.map +1 -0
  83. package/dist/{player-adapter → build_esm/player-adapter}/controls-descriptor.js +1 -0
  84. package/dist/build_esm/player-adapter/controls-descriptor.js.map +1 -0
  85. package/dist/{player-adapter → build_esm/player-adapter}/index.d.ts +7 -6
  86. package/dist/build_esm/player-adapter/index.d.ts.map +1 -0
  87. package/dist/{player-adapter → build_esm/player-adapter}/index.js +1 -0
  88. package/dist/build_esm/player-adapter/index.js.map +1 -0
  89. package/dist/tsconfig.module.tsbuildinfo +1 -0
  90. package/dist/tsconfig.tsbuildinfo +1 -0
  91. package/package.json +16 -24
  92. package/dist/api/device-detector.js +0 -1
  93. package/dist/api/index.d.ts +0 -21
  94. package/dist/api/metadata.d.ts +0 -44
  95. package/dist/api/metadata.js +0 -1
  96. package/dist/api/origin-provider.d.ts +0 -15
  97. package/dist/api/origin-provider.js +0 -1
  98. package/dist/config/align.d.ts +0 -18
  99. package/dist/config/align.js +0 -1
  100. package/dist/config/backend.js +0 -1
  101. package/dist/config/features.d.ts +0 -26
  102. package/dist/config/features.js +0 -1
  103. package/dist/config/index.d.ts +0 -102
  104. package/dist/config/launch-source.js +0 -1
  105. package/dist/config/media-details.d.ts +0 -46
  106. package/dist/config/media-details.js +0 -1
  107. package/dist/config/thread.d.ts +0 -12
  108. package/dist/config/thread.js +0 -1
  109. package/dist/config/ux.d.ts +0 -142
  110. package/dist/config/ux.js +0 -1
  111. package/dist/config/widget.d.ts +0 -71
  112. package/dist/config/widget.js +0 -1
  113. package/dist/events/ux-event.js +0 -1
  114. package/dist/events/video-benchmark-event.js +0 -1
  115. package/dist/index.d.ts +0 -17
  116. package/dist/index.js +0 -4
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=timeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeline.js","sourceRoot":"","sources":["../../../lib/config/timeline.ts"],"names":[],"mappings":""}
@@ -0,0 +1,153 @@
1
+ export interface IUx {
2
+ /**
3
+ * Select the widget theme
4
+ * If set to 'dark', the dark theme will always be used even when widget is not in overlay.
5
+ * @default 'default'
6
+ */
7
+ theme?: ThemeType;
8
+ widget?: IWidgetUx;
9
+ player?: IPlayerUx;
10
+ comments?: ICommentsUx;
11
+ }
12
+ export interface IWidgetUx {
13
+ /**
14
+ * Position the widget on the right or on the left side
15
+ * @default 'right'
16
+ */
17
+ position?: WidgetPositionType;
18
+ /**
19
+ * Load widget in open state on first boot.
20
+ * 'kuku' - widget is loaded closed, and after timeout a kuku is shown promting user to comment.
21
+ * 'open' - load in open state
22
+ * 'closed' - load in closed state with no kuku
23
+ * @default 'kuku'
24
+ */
25
+ loadState?: WidgetLoadStateType;
26
+ /**
27
+ * 'edge' - outside the element right next to it
28
+ * 'overlay' - as an overlay inside the element on it's edge
29
+ * 'fixed' - fixed position on the screen edge instead of relative to the element
30
+ * 'sidePanel' - non dragable side panel layout
31
+ * 'sidePanelOverlay' - non dragable side panel that overlays content including controls
32
+ * @default 'edge'
33
+ * @remarks
34
+ * If align is set to 'edge' or 'sidePanel' and there is no space for the widget, it will fallback to 'overlay'
35
+ */
36
+ layout?: WidgetLayoutType;
37
+ /**
38
+ * Enable/Disable navigation side tabs
39
+ * @default true
40
+ */
41
+ tabs?: boolean;
42
+ /**
43
+ * If povided will limit the responsive widget width.
44
+ * Has effect when widget is positioned outside of the player.
45
+ * Has no effect when widget is overlay inside the player.
46
+ * @default 460
47
+ */
48
+ maxWidth?: number;
49
+ /**
50
+ * Disable Floating action button that opens the widget
51
+ * If disabled, a custom button should be implemented for the close/open actions
52
+ * @default false
53
+ */
54
+ fabDisable?: boolean;
55
+ /**
56
+ * side panel layout preferences
57
+ */
58
+ sidePanel?: ISidePanelUx;
59
+ /**
60
+ * if set to true widget position will be fixed and user won't be able to drag it.
61
+ * @default false
62
+ */
63
+ draggableDisabled?: boolean;
64
+ }
65
+ export interface ISidePanelUx {
66
+ /**
67
+ * Enables side panel ux for player fullscreen. by default overlay is used in fullscreen.
68
+ * @default false
69
+ */
70
+ fullScreenEnable?: boolean;
71
+ /**
72
+ * Width of the side panel in player fullscreen in pixels
73
+ * @default 370
74
+ */
75
+ fullScreenWidth?: number;
76
+ /**
77
+ * Width of the overlay side panel
78
+ * @default 370
79
+ */
80
+ overlayWidth?: number;
81
+ }
82
+ export interface ICommentsUx {
83
+ /**
84
+ * If set to true comments start will be at the top instead of bottom.
85
+ * @default false
86
+ */
87
+ topToBottom?: boolean;
88
+ /**
89
+ * If set to true, when widget is loaded all the replies to comments will be shown.
90
+ * @default false
91
+ */
92
+ showReplies?: boolean;
93
+ /**
94
+ * The default sorting to use on startup.
95
+ * @default 'most_recent'
96
+ */
97
+ sort?: CommentsSortType;
98
+ }
99
+ export interface IPlayerUx {
100
+ /**
101
+ * Triggers that will automatically pause the player.
102
+ * All true by default.
103
+ * > For live video, the player is never paused.
104
+ */
105
+ pauseTriggers?: IPlayerPauseTriggers;
106
+ /**
107
+ * Triggers that will automatically play the player.
108
+ * All false by default.
109
+ */
110
+ playTriggers?: IPlayerPlayTriggers;
111
+ }
112
+ export interface IPlayerPauseTriggers {
113
+ /**
114
+ * Pause when user starts to comment
115
+ * @default true
116
+ */
117
+ comment?: boolean;
118
+ /**
119
+ * Pause when user starts to add new note
120
+ * @default true
121
+ */
122
+ note?: boolean;
123
+ /**
124
+ * Pause when user is prompted to login/signup
125
+ * @default true
126
+ */
127
+ authPrompt?: boolean;
128
+ /**
129
+ * On mobile when widget is open it overlays the player.
130
+ * Pause when widget is open on mobile devices, so the video is not played in the background.
131
+ * > when opening in interactive mode (kuku/mini widget that do not overlay all the video), the player will not be paused.
132
+ * @default true
133
+ */
134
+ openOnPhone?: boolean;
135
+ }
136
+ export interface IPlayerPlayTriggers {
137
+ /**
138
+ * Pause when user starts to comment
139
+ * @default false
140
+ */
141
+ comment?: boolean;
142
+ /**
143
+ * Pause when user starts to add new note
144
+ * @default false
145
+ */
146
+ note?: boolean;
147
+ }
148
+ export declare type ThemeType = 'default' | 'dark';
149
+ export declare type WidgetPositionType = 'right' | 'top:right' | 'bottom:right' | 'left' | 'top:left' | 'bottom:left';
150
+ export declare type WidgetLayoutType = 'edge' | 'overlay' | 'fixed' | 'sidePanel' | 'sidePanelOverlay';
151
+ export declare type WidgetLoadStateType = 'kuku' | 'open' | 'closed';
152
+ export declare type CommentsSortType = 'most_recent' | 'top_rated' | 'by_timetag';
153
+ //# sourceMappingURL=ux.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux.d.ts","sourceRoot":"","sources":["../../../lib/config/ux.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAG;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAC;CAC1B;AAED,MAAM,WAAW,SAAS;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC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AAC9G,oBAAY,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,kBAAkB,CAAC;AAC/F,oBAAY,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAC7D,oBAAY,gBAAgB,GAAG,aAAa,GAAG,WAAW,GAAG,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ux.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux.js","sourceRoot":"","sources":["../../../lib/config/ux.ts"],"names":[],"mappings":""}
@@ -0,0 +1,70 @@
1
+ import { IFeatures } from './features';
2
+ import { IPlayerAdaptorApi } from '../player-adapter';
3
+ import { ITimelineConfig } from './timeline';
4
+ import { IWidgetUx } from './ux';
5
+ export interface IWidgetConfig<F = IFeatures> {
6
+ /**
7
+ * Player setup
8
+ */
9
+ player: IPlayerConfig;
10
+ /**
11
+ * If provided, the widget will be positioned relative to this element instead of the player element
12
+ */
13
+ positionElement?: string | HTMLElement;
14
+ /**
15
+ * Configuration options that affect the user experience.
16
+ * Overrides any backend and {@link IConfig} ux settings.
17
+ */
18
+ ux?: IWidgetUx;
19
+ /**
20
+ * Enable/disable and configure features
21
+ * Modifying the features will override the backend and {@link IConfig} features.
22
+ * @remarks
23
+ * If Feature is not enabled on backend it cannot be enabled via this api.
24
+ */
25
+ features?: F;
26
+ /**
27
+ * If provided the discusion widget will be embedded inside the host element instead of as overlay
28
+ * The size of the widget will be responsive and set to 100% width and height of the host element.
29
+ */
30
+ host?: string | HTMLElement;
31
+ /**
32
+ * @internal
33
+ * Timeline configuration
34
+ */
35
+ timeline?: ITimelineConfig;
36
+ /**
37
+ * @internal
38
+ */
39
+ stats?: IStatsConfig;
40
+ }
41
+ export interface IPlayerConfig {
42
+ /**
43
+ * One of the player types
44
+ */
45
+ type: PlayerType;
46
+ /**
47
+ * dom element of the player or selector string to be used in document.querySelector()
48
+ */
49
+ element: string | HTMLElement;
50
+ /**
51
+ * Player adaptor API required for the `custom` player type
52
+ */
53
+ adaptorApi?: IPlayerAdaptorApi;
54
+ /**
55
+ * @internal
56
+ */
57
+ wide?: boolean;
58
+ /**
59
+ * @internal
60
+ */
61
+ params?: unknown;
62
+ }
63
+ /**
64
+ * @internal
65
+ */
66
+ export interface IStatsConfig {
67
+ host: HTMLElement;
68
+ }
69
+ export declare type PlayerType = 'html5' | 'youtube' | 'jw6' | 'jw7' | 'jw' | 'videojs' | 'kaltura' | 'vimeo' | 'flowplayer' | 'h5p' | 'wistia' | 'openedx' | 'page' | 'kplaykit' | 'custom';
70
+ //# sourceMappingURL=widget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../lib/config/widget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,MAAM,WAAW,aAAa,CAAC,CAAC,GAAG,SAAS;IACxC;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IACvC;;;OAGG;IACH,EAAE,CAAC,EAAE,SAAS,CAAC;IACf;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,WAAW,CAAC;CACrB;AAED,oBAAY,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=widget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../lib/config/widget.ts"],"names":[],"mappings":""}
@@ -4,3 +4,5 @@
4
4
  export * from './stats-event';
5
5
  export * from './ux-event';
6
6
  export * from './video-benchmark-event';
7
+ export * from './my-activity';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/events/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC"}
@@ -4,3 +4,5 @@
4
4
  export * from './stats-event';
5
5
  export * from './ux-event';
6
6
  export * from './video-benchmark-event';
7
+ export * from './my-activity';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/events/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { IVideoBenchmarkHeatmap } from './video-benchmark-event';
2
+ export interface IMyActivity {
3
+ /**
4
+ * Quantity of comments
5
+ */
6
+ comments: number;
7
+ /**
8
+ * Quantity of replies
9
+ */
10
+ replies: number;
11
+ /**
12
+ * acc_completion from {@link IVideoBenchmarkEvent}
13
+ */
14
+ completion: number;
15
+ /**
16
+ * acc_heatmap from {@link IVideoBenchmarkEvent}
17
+ */
18
+ heatmap: IVideoBenchmarkHeatmap;
19
+ /**
20
+ * acc_watch_time from {@link IVideoBenchmarkEvent}
21
+ */
22
+ watch_time: number;
23
+ /**
24
+ * User sso id
25
+ */
26
+ sso_id?: string;
27
+ /**
28
+ * The group Id provided on {@link MediaDetails}
29
+ */
30
+ group_id?: string;
31
+ /**
32
+ * Media source
33
+ */
34
+ media_src: string;
35
+ /**
36
+ * index of the widget
37
+ */
38
+ widget_index: number;
39
+ /**
40
+ * Unique visitor identifier
41
+ */
42
+ visitor_id: string;
43
+ /**
44
+ * Unique session identifier
45
+ */
46
+ session_id: string;
47
+ }
48
+ //# sourceMappingURL=my-activity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"my-activity.d.ts","sourceRoot":"","sources":["../../../lib/events/my-activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=my-activity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"my-activity.js","sourceRoot":"","sources":["../../../lib/events/my-activity.ts"],"names":[],"mappings":""}
@@ -38,6 +38,10 @@ export interface IStatsEvent {
38
38
  * Video timestamp in seconds
39
39
  */
40
40
  ps?: number;
41
+ /**
42
+ * index of the widget
43
+ */
44
+ widget_index: number;
41
45
  /**
42
46
  * Unique visitor identifier
43
47
  */
@@ -47,3 +51,4 @@ export interface IStatsEvent {
47
51
  */
48
52
  session_id: string;
49
53
  }
54
+ //# sourceMappingURL=stats-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stats-event.d.ts","sourceRoot":"","sources":["../../../lib/events/stats-event.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,SAAS,IAAI;IACb,iBAAiB,IAAA;IACjB,YAAY,IAAA;IACZ,cAAc,IAAA;IACd,IAAI,IAAA;IACJ,UAAU,IAAA;IACV,YAAY,IAAA;IACZ,cAAc,IAAA;IACd,UAAU,IAAA;IACV,WAAW,KAAA;IACX,OAAO,KAAA;IACP,cAAc,KAAA;IACd,OAAO,KAAA;IACP,OAAO,KAAA;IACP,KAAK,KAAA;IACL,IAAI,KAAA;IACJ,WAAW,KAAA;IACX,aAAa,KAAA;IACb,QAAQ,KAAA;IACR,UAAU,KAAA;IACV,WAAW,KAAA;CACd;AAED,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -22,3 +22,4 @@ export var StatsTypeEnum;
22
22
  StatsTypeEnum[StatsTypeEnum["noteDelete"] = 20] = "noteDelete";
23
23
  StatsTypeEnum[StatsTypeEnum["groupFollow"] = 21] = "groupFollow";
24
24
  })(StatsTypeEnum || (StatsTypeEnum = {}));
25
+ //# sourceMappingURL=stats-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stats-event.js","sourceRoot":"","sources":["../../../lib/events/stats-event.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,aAsBX;AAtBD,WAAY,aAAa;IACrB,2DAAa,CAAA;IACb,2EAAiB,CAAA;IACjB,iEAAY,CAAA;IACZ,qEAAc,CAAA;IACd,iDAAI,CAAA;IACJ,6DAAU,CAAA;IACV,iEAAY,CAAA;IACZ,qEAAc,CAAA;IACd,6DAAU,CAAA;IACV,gEAAW,CAAA;IACX,wDAAO,CAAA;IACP,sEAAc,CAAA;IACd,wDAAO,CAAA;IACP,wDAAO,CAAA;IACP,oDAAK,CAAA;IACL,kDAAI,CAAA;IACJ,gEAAW,CAAA;IACX,oEAAa,CAAA;IACb,0DAAQ,CAAA;IACR,8DAAU,CAAA;IACV,gEAAW,CAAA;AACf,CAAC,EAtBW,aAAa,KAAb,aAAa,QAsBxB"}
@@ -1,4 +1,5 @@
1
- export interface AnnotoUxEvent {
1
+ export interface IUxEvent {
2
2
  name: 'widget:hide' | 'widget:show' | 'widget:minimise' | 'timeline:hide' | 'timeline:show' | 'timeline:focusin' | 'timeline:focusout';
3
- data?: any;
3
+ widget_id: number;
4
4
  }
5
+ //# sourceMappingURL=ux-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux-event.d.ts","sourceRoot":"","sources":["../../../lib/events/ux-event.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,aAAa,GAAG,aAAa,GAAG,iBAAiB,GAAG,eAAe,GAAG,eAAe,GAAG,kBAAkB,GAAG,mBAAmB,CAAC;IACvI,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ux-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ux-event.js","sourceRoot":"","sources":["../../../lib/events/ux-event.ts"],"names":[],"mappings":""}
@@ -18,6 +18,10 @@ export interface IVideoBenchmarkEvent {
18
18
  * Media source
19
19
  */
20
20
  media_src: string;
21
+ /**
22
+ * index of the widget
23
+ */
24
+ widget_index: number;
21
25
  /**
22
26
  * Video duration
23
27
  */
@@ -63,3 +67,4 @@ export interface IVideoBenchmarkEvent {
63
67
  */
64
68
  session_id: string;
65
69
  }
70
+ //# sourceMappingURL=video-benchmark-event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-benchmark-event.d.ts","sourceRoot":"","sources":["../../../lib/events/video-benchmark-event.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACtC;AAGD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=video-benchmark-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"video-benchmark-event.js","sourceRoot":"","sources":["../../../lib/events/video-benchmark-event.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @module Annoto
3
+ */
4
+ import { IConfig } from './config';
5
+ import { IUxEvent, IStatsEvent, IVideoBenchmarkEvent, IMyActivity } from './events';
6
+ import { IAnnotoApi, IMetadata } from './api';
7
+ export declare type AnnotoEventType = 'ready' | 'metadata' | 'ux' | 'stats_events' | 'video_benchmark' | 'my_activity';
8
+ export declare type AnnotoReadyCallback = (api: IAnnotoApi) => void;
9
+ export declare type AnnotoMetadataCallback = (metadata: IMetadata) => void;
10
+ export declare type AnnotoUxEventCallback = (uxEvent: IUxEvent) => void;
11
+ export declare type AnnotoStatsEventCallback = (statsEvent: IStatsEvent) => void;
12
+ export declare type AnnotoVideoBenchmarkCallback = (uxEvent: IVideoBenchmarkEvent) => void;
13
+ export declare type AnnotoMyActivityCallback = (uxEvent: IMyActivity) => void;
14
+ export interface Annoto {
15
+ on(event: AnnotoEventType, cb: AnnotoReadyCallback | AnnotoMetadataCallback | AnnotoUxEventCallback | AnnotoStatsEventCallback | AnnotoVideoBenchmarkCallback | AnnotoMyActivityCallback): void;
16
+ boot(config: IConfig): void;
17
+ }
18
+ export * from './config';
19
+ export * from './api';
20
+ export * from './events';
21
+ export * from './player-adapter';
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9C,oBAAY,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,IAAI,GAAG,cAAc,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAC/G,oBAAY,mBAAmB,GAAG,CAAC,GAAG,EAAE,UAAU,KAAK,IAAI,CAAC;AAC5D,oBAAY,sBAAsB,GAAG,CAAC,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC;AACnE,oBAAY,qBAAqB,GAAG,CAAC,OAAO,EAAE,QAAQ,KAAK,IAAI,CAAC;AAChE,oBAAY,wBAAwB,GAAG,CAAC,UAAU,EAAE,WAAW,KAAK,IAAI,CAAC;AACzE,oBAAY,4BAA4B,GAAG,CAAC,OAAO,EAAE,oBAAoB,KAAK,IAAI,CAAC;AACnF,oBAAY,wBAAwB,GAAG,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;AAEtE,MAAM,WAAW,MAAM;IACnB,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,mBAAmB,GAAG,sBAAsB,GAAG,qBAAqB,GAAG,wBAAwB,GAAG,4BAA4B,GAAG,wBAAwB,GAAG,IAAI,CAAC;IAChM,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B;AAED,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @module Annoto
3
+ */
4
+ export * from './config';
5
+ export * from './api';
6
+ export * from './events';
7
+ export * from './player-adapter';
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAmBH,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
@@ -3,11 +3,12 @@
3
3
  * @internal
4
4
  */
5
5
  /**
6
+ * @internal
6
7
  * @description The parameters describe behavior of the player controls
7
8
  * It is used as default controls parameters for correct timeline behavior in overlay
8
9
  * and in full screen mode.
9
10
  */
10
- export interface ControlsDescriptor {
11
+ export interface IControlsDescriptor {
11
12
  /**
12
13
  * The height in pixels of the controls
13
14
  */
@@ -69,6 +70,9 @@ export interface ControlsDescriptor {
69
70
  */
70
71
  videoRatioOffsets?: ControlsDescriptorVideoRatioOffsets;
71
72
  }
73
+ /**
74
+ * @internal
75
+ */
72
76
  export interface ControlsDescriptorTrack {
73
77
  /**
74
78
  * The space in pixels between the right edge of the player and the end of the track
@@ -91,6 +95,9 @@ export interface ControlsDescriptorTrack {
91
95
  */
92
96
  widthPercentage?: number;
93
97
  }
98
+ /**
99
+ * @internal
100
+ */
94
101
  export interface ControlsDescriptorFullscreen {
95
102
  height: number;
96
103
  /**
@@ -103,6 +110,9 @@ export interface ControlsDescriptorFullscreen {
103
110
  };
104
111
  track: ControlsDescriptorTrack;
105
112
  }
113
+ /**
114
+ * @internal
115
+ */
106
116
  export interface ControlsDescriptorMouse {
107
117
  /**
108
118
  * Set to true if movement of the mouse inside player opens the controls
@@ -128,6 +138,9 @@ export interface ControlsDescriptorMouse {
128
138
  */
129
139
  enterTimeout?: number;
130
140
  }
141
+ /**
142
+ * @internal
143
+ */
131
144
  export interface ControlsDescriptorTransitions {
132
145
  /**
133
146
  * Set the css timming for controls show.
@@ -140,6 +153,9 @@ export interface ControlsDescriptorTransitions {
140
153
  */
141
154
  hideTiming?: string;
142
155
  }
156
+ /**
157
+ * @internal
158
+ */
143
159
  export interface ControlsDescriptorTimeline {
144
160
  /**
145
161
  * If set to true, and hideOnHide is true as well, the timeline will fade out/in.
@@ -147,8 +163,12 @@ export interface ControlsDescriptorTimeline {
147
163
  */
148
164
  fadeInOut?: boolean;
149
165
  }
166
+ /**
167
+ * @internal
168
+ */
150
169
  export interface ControlsDescriptorVideoRatioOffsets {
151
170
  center?: boolean;
152
171
  top: number;
153
172
  left: number;
154
173
  }
174
+ //# sourceMappingURL=controls-descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controls-descriptor.d.ts","sourceRoot":"","sources":["../../../lib/player-adapter/controls-descriptor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,KAAK,EAAE,uBAAuB,CAAC;IAE/B;;;OAGG;IACH,UAAU,EAAE,4BAA4B,CAAC;IAEzC;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;IAE/B;;OAEG;IACH,WAAW,EAAE,6BAA6B,CAAC;IAE3C;;OAEG;IACH,QAAQ,EAAE,0BAA0B,CAAC;IAErC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,mCAAmC,CAAC;CAC3D;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QACP,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF,KAAK,EAAE,uBAAuB,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB"}
@@ -3,3 +3,4 @@
3
3
  * @internal
4
4
  */
5
5
  export {};
6
+ //# sourceMappingURL=controls-descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controls-descriptor.js","sourceRoot":"","sources":["../../../lib/player-adapter/controls-descriptor.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * @module PlayerAdaptor
3
3
  */
4
- import { MediaDetails } from '../config';
5
- import { ControlsDescriptor } from './controls-descriptor';
4
+ import { IMediaDetails } from '../config';
5
+ import { IControlsDescriptor } from './controls-descriptor';
6
6
  export declare type PlayerEventCallback = () => void;
7
7
  export * from './controls-descriptor';
8
8
  /**
9
9
  * @description Annoto Player Adaptor API
10
10
  */
11
- export interface PlayerAdaptorApi {
11
+ export interface IPlayerAdaptorApi {
12
12
  /**
13
13
  * @description This method is called by Annoto as the first method.
14
14
  * Use it to configure the player interface object.
@@ -77,9 +77,9 @@ export interface PlayerAdaptorApi {
77
77
  /**
78
78
  * @description (OPTIONAL) Get Details for the media.
79
79
  * Notice: this value can be overriden by player.mediaDetails widget configuration.
80
- * @return {MediaDetails | Promise<MediaDetails>}
80
+ * @return {IMediaDetails | Promise<IMediaDetails>}
81
81
  */
82
- mediaMetadata?(): MediaDetails | Promise<MediaDetails>;
82
+ mediaMetadata?(): IMediaDetails | Promise<IMediaDetails>;
83
83
  /**
84
84
  * @description (OPTIONAL) Get player autoplay configuration option
85
85
  * (if player configured to play on page load)
@@ -195,7 +195,7 @@ export interface PlayerAdaptorApi {
195
195
  * The parameters describe behavior of the player controls.
196
196
  * @returns {ControlsDescriptor} controls descriptor object
197
197
  */
198
- controlsDescriptor?(): ControlsDescriptor;
198
+ controlsDescriptor?(): IControlsDescriptor;
199
199
  /**
200
200
  * @description (OPTIONAL) If defined will be called at view refreshes of the widget.
201
201
  * Allows the player to perform optional adjustments to the controls descriptor.
@@ -288,3 +288,4 @@ export interface PlayerAdaptorApi {
288
288
  */
289
289
  onControlsLeave?(cb: PlayerEventCallback): void;
290
290
  }
291
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/player-adapter/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AA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;OAMG;IACH,cAAc,CAAC,IAAI,MAAM,GAAG,MAAM,CAAC;IAEnC;;;;;;OAMG;IACH,eAAe,CAAC,IAAI,MAAM,GAAG,MAAM,CAAC;IAEpC;;;;;;OAMG;IACH,gBAAgB,CAAC,IAAI,MAAM,GAAG,MAAM,CAAC;IAErC;;;;;;;;OAQG;IACH,cAAc,CAAC,CAAC,EAAE,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAE/C;;;;;;;;OAQG;IACH,cAAc,CAAC,CAAC,EAAE,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAE/C;;;;;;OAMG;IACH,UAAU,CAAC,IAAI,MAAM,GAAG,IAAI,CAAC;IAI7B;;;;;;;;;;OAUG;IACH,eAAe,CAAC,CAAC,EAAE,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEhD;;;;;;;;;;OAUG;IACH,eAAe,CAAC,CAAC,EAAE,EAAE,mBAAmB,GAAG,IAAI,CAAC;CACnD"}
@@ -2,3 +2,4 @@
2
2
  * @module PlayerAdaptor
3
3
  */
4
4
  export * from './controls-descriptor';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/player-adapter/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,cAAc,uBAAuB,CAAC"}