diff options
author | bobzel <zzzman@gmail.com> | 2020-08-06 23:15:47 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 23:15:47 -0400 |
commit | 20149e4849b8c24ba98ea1372f6ab3def6585265 (patch) | |
tree | eb507b7b163549304c46cdd1cf6b3690ff1defc7 /src/fields | |
parent | 0910e7387fae485d7c11eb71b6abcce865403b13 (diff) | |
parent | 301b10ba693dc76ebcd42d3fa4020410f2092bee (diff) |
Merge pull request #506 from browngraphicslab/new_audio
New audio
Diffstat (limited to 'src/fields')
-rw-r--r-- | src/fields/documentSchemas.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts index 8cf8f47b7..ada13226e 100644 --- a/src/fields/documentSchemas.ts +++ b/src/fields/documentSchemas.ts @@ -19,6 +19,10 @@ export const documentSchema = createSchema({ currentTimecode: "number", // current play back time of a temporal document (video / audio) displayTimecode: "number", // the time that a document should be displayed (e.g., time an annotation should be displayed on a video) inOverlay: "boolean", // whether the document is rendered in an OverlayView which handles selection/dragging differently + isLabel: "boolean", // whether the document is a label or not (video / audio) + audioStart: "number", // the time frame where the audio should begin playing + audioEnd: "number", // the time frame where the audio should stop playing + markers: listSpec(Doc), // list of markers for audio / video x: "number", // x coordinate when in a freeform view y: "number", // y coordinate when in a freeform view z: "number", // z "coordinate" - non-zero specifies the overlay layer of a freeformview |