summaryrefslogtreecommitdiff
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
parentd94ac6fa8509a883f4f51f62887da9b9b5084740 (diff)
hide_poster_inline
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js14
-rw-r--r--animism-align/frontend/app/views/viewer/player/player.fullscreen.js2
2 files changed, 12 insertions, 4 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
diff --git a/animism-align/frontend/app/views/viewer/player/player.fullscreen.js b/animism-align/frontend/app/views/viewer/player/player.fullscreen.js
index 1da9015..ebafc52 100644
--- a/animism-align/frontend/app/views/viewer/player/player.fullscreen.js
+++ b/animism-align/frontend/app/views/viewer/player/player.fullscreen.js
@@ -48,7 +48,7 @@ class PlayerFullscreen extends Component {
actions.viewer.setNavStyle(currentSection.color)
actions.viewer.setMediaTitle(null)
}
- elements.reverse()
+ // elements.reverse()
this.setState({ elements })
}