aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2021-08-25 22:03:24 -0400
committermehekj <mehek.jethani@gmail.com>2021-08-25 22:03:24 -0400
commit610f197693271c8d2a80c980f9abd5e6f68ce3f5 (patch)
treeaf3af431ba3f4d9eb8956afd39bec0f7e94c888d /src
parent8beb8fa42ba5f84bb13b5877560fc92ad3613e88 (diff)
fixed video waveform timeline so current time indicator works
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/VideoBox.tsx10
1 files changed, 8 insertions, 2 deletions
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>;
}