@veltdev/sdk 1.0.19 → 1.0.21
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.
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { User } from "./user.data.model";
|
|
2
|
+
export declare class SyncVideoPlayer {
|
|
3
|
+
/**
|
|
4
|
+
* The id of the player
|
|
5
|
+
*/
|
|
6
|
+
playerId?: string;
|
|
7
|
+
src?: string;
|
|
8
|
+
sources?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Last updated timestamp
|
|
11
|
+
*/
|
|
12
|
+
lastUpdated?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Last updated by user
|
|
15
|
+
*/
|
|
16
|
+
lastUpdatedBy?: User;
|
|
17
|
+
/**
|
|
18
|
+
* Last updated event
|
|
19
|
+
*/
|
|
20
|
+
lastUpdatedEvent?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The state of the player
|
|
23
|
+
*/
|
|
24
|
+
playerState: SyncVideoPlayerState;
|
|
25
|
+
}
|
|
26
|
+
export declare class SyncVideoPlayerState {
|
|
27
|
+
/**
|
|
28
|
+
* True if the video is playing
|
|
29
|
+
*/
|
|
30
|
+
playing?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Current time of the video
|
|
33
|
+
*/
|
|
34
|
+
currentTime?: number;
|
|
35
|
+
/**
|
|
36
|
+
* True if the video is muted
|
|
37
|
+
*/
|
|
38
|
+
muted?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Volume of the video
|
|
41
|
+
*/
|
|
42
|
+
volume?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Playback rate of the video
|
|
45
|
+
*/
|
|
46
|
+
speed?: number;
|
|
47
|
+
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export declare class Constants {
|
|
|
24
24
|
static FIREBASE_PARTIAL_PATH_LOCATIONS: string;
|
|
25
25
|
static FIREBASE_PARTIAL_PATH_RECORDER: string;
|
|
26
26
|
static FIREBASE_PARTIAL_PATH_FOLLOW_ALONG: string;
|
|
27
|
+
static FIREBASE_PARTIAL_PATH_SYNC_VIDEO_PLAYER: string;
|
|
27
28
|
static FIREBASE_PARTIAL_PATH_IAM: string;
|
|
28
29
|
static FIREBASE_PARTIAL_PATH_USERS: string;
|
|
29
30
|
static FIREBASE_PARTIAL_PATH_USER_REQUESTS: string;
|
|
@@ -226,6 +227,8 @@ export declare class Constants {
|
|
|
226
227
|
VELT_AREA_DISABLED: string;
|
|
227
228
|
VELT_ONGOING_RECORDING: string;
|
|
228
229
|
VELT_COMMENT_RECORDING: string;
|
|
230
|
+
SYNC_VIDEO_PLAYER_ID: string;
|
|
231
|
+
SYNC_VIDEO_PLAYER: string;
|
|
229
232
|
};
|
|
230
233
|
static INJECTION_STYLE_PROPS: {
|
|
231
234
|
/**
|
|
@@ -258,6 +261,7 @@ export declare class Constants {
|
|
|
258
261
|
static LOCAL_STORAGE: {
|
|
259
262
|
SNIPPYLY_DEFAULT_MEDIA_SOURCE_OPTIONS: string;
|
|
260
263
|
SNIPPYLY_QUEUED_COMMENT: string;
|
|
264
|
+
VELT_USER: string;
|
|
261
265
|
};
|
|
262
266
|
static NON_NESTABLE_ELEMENTS: {
|
|
263
267
|
[tag: string]: boolean;
|
package/models.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './app/models/data/recorder-annotation.data.model';
|
|
|
28
28
|
export * from './app/models/data/rewriter-annotation.data.model';
|
|
29
29
|
export * from './app/models/data/screen-size.data.model';
|
|
30
30
|
export * from './app/models/data/selection.model';
|
|
31
|
+
export * from './app/models/data/sync-video-player.data.model';
|
|
31
32
|
export * from './app/models/data/tag-annotation.data.model';
|
|
32
33
|
export * from './app/models/data/target-element.data.model';
|
|
33
34
|
export * from './app/models/data/target-text-range.data.model';
|