summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-12-02 14:28:42 +0100
committerJules Laplace <julescarbon@gmail.com>2020-12-02 14:28:42 +0100
commit441b9efe7a76e801d5d079a70dcb4aeb1a132bb9 (patch)
tree9e2b4cdef524b02ee63de8974d8794eee2e362d9
parenta22727e703be74e91a5e4089b66cf291d875ae98 (diff)
fix nav bar on chrome. add full video checkbox
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js8
-rw-r--r--animism-align/frontend/app/views/viewer/nav/nav.css1
2 files changed, 9 insertions, 0 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 a947e2a..dd5f640 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
@@ -72,6 +72,14 @@ export const AnnotationFormVideo = ({ annotation, media, handleSettingsSelect, h
onChange={handleSettingsSelect}
/>
)}
+ {(annotation.settings.fullscreen && !annotation.settings.inline) && (
+ <Checkbox
+ label="Can play full video at end of section"
+ name="can_play_full_video"
+ checked={annotation.settings.can_play_full_video}
+ onChange={handleSettingsSelect}
+ />
+ )}
<Checkbox
label="Hide in transcript"
name="hide_in_transcript"
diff --git a/animism-align/frontend/app/views/viewer/nav/nav.css b/animism-align/frontend/app/views/viewer/nav/nav.css
index de6f73b..b993750 100644
--- a/animism-align/frontend/app/views/viewer/nav/nav.css
+++ b/animism-align/frontend/app/views/viewer/nav/nav.css
@@ -179,6 +179,7 @@
height: 3rem;
backdrop-filter: invert(0%);
transition: opacity 0.2s, backdrop-filter 0.2s, width 0.25s linear;
+ background: transparent;
}
.chrome .nav-open .nav-progress-percentage {
height: calc(3rem - 1px);