diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-28 18:05:04 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-28 18:05:04 +0100 |
| commit | 417ffc21deeb4be5e2644846f2818ec63b4cbaa6 (patch) | |
| tree | e5fc177727555574c31864817ca14c29a1b35b7d /animism-align/frontend/app/views/align/components/annotations/annotationForms | |
| parent | 0edf712c4b60ed1022e690004819c2c8de9201be (diff) | |
poster image size
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 | 10 |
1 files changed, 9 insertions, 1 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 0199b46..45b538b 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 @@ -1,6 +1,6 @@ import React, { Component } from 'react' -import { CURTAIN_COLOR_SELECT_OPTIONS } from 'app/constants' +import { CURTAIN_COLOR_SELECT_OPTIONS, IMAGE_BACKGROUND_SIZE_OPTIONS } from 'app/constants' import { Select, Checkbox } from 'app/common' import { AnnotationFormFullscreen } from './annotationForm.utility' @@ -78,6 +78,14 @@ export const AnnotationFormVideo = ({ annotation, media, handleSettingsSelect, h defaultOption='Pick a color' onChange={handleSettingsSelect} /> + <Select + title='Poster Size' + name='poster_size' + selected={annotation.settings.poster_size} + options={IMAGE_BACKGROUND_SIZE_OPTIONS} + defaultOption='Select size' + onChange={handleSettingsSelect} + /> {(annotation.settings.fullscreen && !annotation.settings.inline) && ( <AnnotationFormFullscreen |
