diff options
author | bobzel <zzzman@gmail.com> | 2022-05-04 11:30:32 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-05-04 11:30:32 -0400 |
commit | 51b4d65fe05939ea27639bc1b5cc66ec99fa54e5 (patch) | |
tree | 818221908981839d5b3c06ab5822698cbaadfaa1 /src/client/views/nodes/VideoBox.tsx | |
parent | 92142bba66010a8792c00dc372228b92e151c8b3 (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.tsx | 2 |
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"]); }); |