diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-23 16:22:45 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-23 16:22:45 +0200 |
| commit | 0d8f9ca954032c37ba1638728382e80335f734cb (patch) | |
| tree | 1d9fd24ed74e262514a47ad488e516799f3f71c8 /animism-align/frontend/app/views/align/components/annotations/annotationForms | |
| parent | d94ac6fa8509a883f4f51f62887da9b9b5084740 (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.js | 14 |
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 |
