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:58:15 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-23 16:58:15 +0200
commit964dcf5c85b68207e5bc6c36c0a438855a22e26e (patch)
treedb1483caee55d66f8d3bc766c23ed8eaacb814ac /animism-align/frontend/app/views/align/components/annotations/annotationForms
parent0d8f9ca954032c37ba1638728382e80335f734cb (diff)
footnotes in pull quotes
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, 8 insertions, 6 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 7bbe952..0199b46 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
@@ -56,12 +56,14 @@ export const AnnotationFormVideo = ({ annotation, media, handleSettingsSelect, h
onChange={handleSettingsSelect}
/>
)}
- <Checkbox
- label="Hide inline video poster"
- name="hide_poster_inline22"
- checked={annotation.settings.hide_poster_inline}
- onChange={handleSettingsSelect}
- />
+ {(annotation.settings.fullscreen && !annotation.settings.inline) && (
+ <Checkbox
+ label="Hide inline video poster"
+ name="hide_poster_inline"
+ checked={annotation.settings.hide_poster_inline}
+ onChange={handleSettingsSelect}
+ />
+ )}
<Checkbox
label="Hide in transcript"
name="hide_in_transcript"