summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/annotations/annotationForms
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-23 16:22:45 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-23 16:22:45 +0200
commit0d8f9ca954032c37ba1638728382e80335f734cb (patch)
tree1d9fd24ed74e262514a47ad488e516799f3f71c8 /animism-align/frontend/app/views/align/components/annotations/annotationForms
parentd94ac6fa8509a883f4f51f62887da9b9b5084740 (diff)
hide_poster_inline
Diffstat (limited to 'animism-align/frontend/app/views/align/components/annotations/annotationForms')
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js
index ce07d09..7bbe952 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js
@@ -48,10 +48,18 @@ export const AnnotationFormVideo = ({ annotation, media, handleSettingsSelect, h
checked={annotation.settings.loop}
onChange={handleSettingsSelect}
/>
+ {annotation.settings.inline && (
+ <Checkbox
+ label="Show poster image"
+ name="poster"
+ checked={annotation.settings.poster}
+ onChange={handleSettingsSelect}
+ />
+ )}
<Checkbox
- label="Show poster image"
- name="poster"
- checked={annotation.settings.poster}
+ label="Hide inline video poster"
+ name="hide_poster_inline22"
+ checked={annotation.settings.hide_poster_inline}
onChange={handleSettingsSelect}
/>
<Checkbox