aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-12 19:27:53 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-12 19:27:53 -0400
commit2333a91aa6a3fcf555b378f903a457fcb04905a2 (patch)
treea0b568378a01f6d41d9f0e8161230735aea85de7 /src/client/views/nodes/VideoBox.tsx
parent22cc2d3539ccf9fa70c232551761bbb39388e8e2 (diff)
parent1f7c92833a7256ff015e191e754fa7791c9d977f (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
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 1b9138cfd..1254fb4b1 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -141,7 +141,7 @@ export class VideoBox extends DocComponent<FieldViewProps, VideoDocument>(VideoD
}
}
- @observable static _showControls: boolean = false;
+ @observable static _showControls: boolean;
specificContextMenu = (e: React.MouseEvent): void => {
let field = Cast(this.Document[this.props.fieldKey], VideoField);
@@ -167,4 +167,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