diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-11-03 17:45:00 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-11-03 17:45:00 +0100 |
| commit | c89b17daf372c1cc6f83e5b456f888676990e721 (patch) | |
| tree | aac6349ac9a64fe43913904b6c9a5dc768532ffa /animism-align/frontend/app/views/viewer/viewer.actions.js | |
| parent | be46fccc4cb30b1b2b17637bc7c990259f6a4b4c (diff) | |
fade in video opacity when it starts playing
Diffstat (limited to 'animism-align/frontend/app/views/viewer/viewer.actions.js')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/viewer.actions.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) } } |
