diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-05 18:08:17 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-05 18:08:17 +0100 |
| commit | d5b6a4ea27f8c905e613363aab365066ad6d9cda (patch) | |
| tree | 7cbb6a3a94cb9079800023d0bf06f7bd1b1bc55c /animism-align/frontend/app/views | |
| parent | 9893a6e30f8fdbb95fc7066db851579e2a9bfe69 (diff) | |
auth stuff. generate secret and create user from the cli
Diffstat (limited to 'animism-align/frontend/app/views')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/nav/viewer.router.js | 5 | ||||
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.actions.js | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/viewer/nav/viewer.router.js b/animism-align/frontend/app/views/viewer/nav/viewer.router.js index 6c61223..27ff7a1 100644 --- a/animism-align/frontend/app/views/viewer/nav/viewer.router.js +++ b/animism-align/frontend/app/views/viewer/nav/viewer.router.js @@ -22,6 +22,11 @@ class ViewerRouter extends Component { } return } + if (component.match('timestamp_')) { + const timestampParts = component.split('_') + actions.viewer.seekToTimestamp(timestampToSeconds(timestampParts[1])) + return + } switch (this.props.match.params.component) { case 'transcript': actions.viewer.showComponent('transcript') diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js index 39aa9f8..ef98533 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -113,7 +113,6 @@ export const loadSections = () => dispatch => { } // build timeline of "cue" instructions, which tell elements to change - // TODO: modify this to append these instructions to a list based on media_id, so we can grab it for the gallery if (CUE_UTILITY_ANNOTATION_TYPES.has(annotation.type)) { if (annotation.type === 'gallery_advance') { annotation.settings.frame_index = parseInt(annotation.settings.frame_index) |
