From c89b17daf372c1cc6f83e5b456f888676990e721 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 3 Nov 2020 17:45:00 +0100 Subject: fade in video opacity when it starts playing --- animism-align/frontend/app/views/viewer/viewer.actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js') diff --git a/animism-align/frontend/app/views/viewer/viewer.actions.js b/animism-align/frontend/app/views/viewer/viewer.actions.js index beac797..449d224 100644 --- a/animism-align/frontend/app/views/viewer/viewer.actions.js +++ b/animism-align/frontend/app/views/viewer/viewer.actions.js @@ -129,7 +129,7 @@ export const loadSections = () => dispatch => { 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) { + if ((annotation.type === 'image' || annotation.type === 'video') && !annotation.settings.hide_poster_inline) { sectionTextAnnotationOrder.push(annotation.id) } } -- cgit v1.2.3-70-g09d2