From ac06f6b9225ad343443116c552e8019781e60388 Mon Sep 17 00:00:00 2001 From: Vijeinath Tissaveerasingham Date: Wed, 17 Aug 2022 10:40:48 +0200 Subject: [PATCH] feat(video): add download button and overlay to video player (DEV-1151) (#798) * feature(video): add menu and open url in tab * feature(video): copy url to clipboard * refactoring(video): commenting out mute function * feature(video): downloading video * refactor(video): moving replace file to menu * feature(video): video overlay * fix(video): eliminate console.log * fix(video): adapt overlay * fix(video): getting file url --- .../representation/video/video.component.html | 70 ++++++++++++------- .../representation/video/video.component.scss | 29 ++++++++ .../representation/video/video.component.ts | 62 +++++++++++++++- 3 files changed, 133 insertions(+), 28 deletions(-) diff --git a/src/app/workspace/resource/representation/video/video.component.html b/src/app/workspace/resource/representation/video/video.component.html index f7090b71be..dcf9bdfc56 100644 --- a/src/app/workspace/resource/representation/video/video.component.html +++ b/src/app/workspace/resource/representation/video/video.component.html @@ -4,10 +4,20 @@ - +
+ + +
+
+ replay_10 + {{ reachedTheEnd ? "replay" : (play ? "pause" : "play_arrow") }} + forward_10 +
+
+
@@ -23,7 +33,6 @@ [fileHasChanged]="fileHasChanged" (loaded)="displayPreview(!$event)"> - @@ -37,6 +46,25 @@ + + + + + + + + + -

@@ -60,23 +84,17 @@ / {{ duration | appTime }}

- - + + + + + + + - - + + +