diff options
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.actions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js index f3e3465..3fbe47b 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -128,6 +128,10 @@ export const loadSections = () => dispatch => { if ((FULLSCREEN_UTILITY_ANNOTATION_TYPES.has(annotation.type) || annotation.settings.fullscreen) && !annotation.settings.inline) { const event = makeFullscreenEvent(eventIndex++, annotation) currentSection.fullscreenTimeline.push(event) + // for videos, we probably want to show a poster image + if (annotation.type === 'video' && !annotation.settings.hide_poster_inline) { + sectionTextAnnotationOrder.push(annotation.id) + } } // add text annotations to section annotation order |
