From 610f197693271c8d2a80c980f9abd5e6f68ce3f5 Mon Sep 17 00:00:00 2001
From: mehekj <mehek.jethani@gmail.com>
Date: Wed, 25 Aug 2021 22:03:24 -0400
Subject: fixed video waveform timeline so current time indicator works

---
 src/client/views/nodes/VideoBox.tsx | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'src/client/views/nodes/VideoBox.tsx')

diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index fc08a2302..7e7ebcad3 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -330,8 +330,8 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
                     {!this.audiopath || this.audiopath === field.url.href ? (null) :
                         <audio ref={this.setAudioRef} className={`audiobox-control${this.isContentActive() ? "-interactive" : ""}`}>
                             <source src={this.audiopath} type="audio/mpeg" />
-                        Not supported.
-                    </audio>}
+                            Not supported.
+                        </audio>}
                 </div>
             </div>;
     }
@@ -534,6 +534,12 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
                 isContentActive={this.isContentActive}
                 playLink={this.playLink}
                 PanelHeight={this.timelineHeight}
+                trimming={false}
+                trimStart={0}
+                trimEnd={this.duration}
+                trimDuration={this.duration}
+                setStartTrim={() => { }}
+                setEndTrim={() => { }}
             />
         </div>;
     }
-- 
cgit v1.2.3-70-g09d2

