aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-12 19:25:20 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-12 19:25:20 -0400
commitd75d951a863103568f93ab9b04259d07b9668b47 (patch)
treee48995297eea2f8ee544041cadb2540734c11f7d /src/client/views/nodes/VideoBox.tsx
parent6a477918f2f16bdc023c76d6a145bb6435e918a6 (diff)
Various small changes/fixes
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r--src/client/views/nodes/VideoBox.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index 9ee4d7942..fa1e4d273 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -145,7 +145,7 @@ export class VideoBox extends DocComponent<FieldViewProps, VideoDocument>(VideoD
onPointerDown = (e: React.PointerEvent) => {
}
- @observable static _showControls: boolean = false;
+ @observable static _showControls: boolean;
specificContextMenu = (e: React.MouseEvent): void => {
let field = Cast(this.Document[this.props.fieldKey], VideoField);
@@ -170,4 +170,6 @@ export class VideoBox extends DocComponent<FieldViewProps, VideoDocument>(VideoD
Not supported.
</video>;
}
-} \ No newline at end of file
+}
+
+VideoBox._showControls = true; \ No newline at end of file