summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/annotations/annotationForms
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-03 17:45:00 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-03 17:45:00 +0100
commitc89b17daf372c1cc6f83e5b456f888676990e721 (patch)
treeaac6349ac9a64fe43913904b6c9a5dc768532ffa /animism-align/frontend/app/views/align/components/annotations/annotationForms
parentbe46fccc4cb30b1b2b17637bc7c990259f6a4b4c (diff)
fade in video opacity when it starts playing
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.image.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js
index ae58db4..b06916f 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js
@@ -58,6 +58,22 @@ export const AnnotationFormImage = ({ annotation, media, handleSettingsSelect, h
onChange={handleSettingsSelect}
/>
+ {(annotation.settings.fullscreen && !annotation.settings.inline) && (
+ <Checkbox
+ label="Hide inline image"
+ name="hide_poster_inline"
+ checked={annotation.settings.hide_poster_inline}
+ onChange={handleSettingsSelect}
+ />
+ )}
+
+ <Checkbox
+ label="Hide caption"
+ name="hide_caption"
+ checked={annotation.settings.hide_caption}
+ onChange={handleSettingsSelect}
+ />
+
<Checkbox
label="Hide in transcript"
name="hide_in_transcript"