aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-05-04 11:30:32 -0400
committerbobzel <zzzman@gmail.com>2022-05-04 11:30:32 -0400
commit51b4d65fe05939ea27639bc1b5cc66ec99fa54e5 (patch)
tree818221908981839d5b3c06ab5822698cbaadfaa1 /src/client/views/nodes/VideoBox.tsx
parent92142bba66010a8792c00dc372228b92e151c8b3 (diff)
fixes to make recordingBox appear on slides after reopening.
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r--src/client/views/nodes/VideoBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index e57cb1abe..b424225e7 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -305,7 +305,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
this.layoutDoc._height = NumCast(this.layoutDoc._width) / aspect;
if (Number.isFinite(this.player!.duration)) {
this.rawDuration = this.player!.duration;
- }
+ } else this.rawDuration = NumCast(this.dataDoc[this.fieldKey + "-duration"]);
});