aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-22 13:10:58 -0400
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2022-09-22 13:10:58 -0400
commit1ec9505775315d0ba41b114942ff69d8ceb93e04 (patch)
tree3dde9bb324814b419b4b5a27d9be3c30dd81d993 /src/client/views/nodes/VideoBox.tsx
parent604b3e566eaf762ede05f4a31c459c20d0df020b (diff)
parent40cc7455e853d306ee2750c51308d095dc2970ef (diff)
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r--src/client/views/nodes/VideoBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index 4bcd79641..f7f558bb4 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -405,6 +405,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp
}
if (Number.isFinite(this.player!.duration)) {
this.rawDuration = this.player!.duration;
+ this.dataDoc[this.fieldKey + '-duration'] = this.rawDuration;
} else this.rawDuration = NumCast(this.dataDoc[this.fieldKey + '-duration']);
});