From fa287a8b341926fa3866d7dee31b4f4090a5c98f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 2 Dec 2020 15:00:48 +0100 Subject: starting full video modal --- .../player/components.inline/inline.video.js | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'animism-align/frontend/app/views/viewer/player/components.inline/inline.video.js') diff --git a/animism-align/frontend/app/views/viewer/player/components.inline/inline.video.js b/animism-align/frontend/app/views/viewer/player/components.inline/inline.video.js index 9a0ff7a..ea73d03 100644 --- a/animism-align/frontend/app/views/viewer/player/components.inline/inline.video.js +++ b/animism-align/frontend/app/views/viewer/player/components.inline/inline.video.js @@ -50,9 +50,9 @@ export class MediaVideo extends Component { color: color.textColor, backgroundColor: color.backgroundColor, } - style.color = color.textColor, - style.backgroundColor = color.backgroundColor, - style.backgroundImage = 'url(' + posterURL(item) + ')' + style.color = color.textColor + style.backgroundColor = color.backgroundColor + // style.backgroundImage = 'url(' + posterURL(item) + ')' if (annotation.settings.poster_size) { style.backgroundSize = annotation.settings.poster_size } @@ -63,7 +63,21 @@ export class MediaVideo extends Component { style={style} onClick={e => onAnnotationClick(e, paragraph, annotation)} > -
{SpeakerIcon}
+
+ + {annotation.settings.can_play_full_video ? ( +
+
+ {SpeakerIcon} + Watch full film +
+
+ ) : ( +
+ {SpeakerIcon} +
+ )} +
-- cgit v1.2.3-70-g09d2