diff options
author | bobzel <zzzman@gmail.com> | 2021-03-24 22:58:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-24 22:58:36 -0400 |
commit | 73e5c873f1a22c9a1f0aeb5d0c6f85c5c8b2f8fc (patch) | |
tree | 1ec1b555205b61fbad23604e37d236883d1de2be /src/client/views/nodes/VideoBox.tsx | |
parent | 7831d53550f1b537aecc4e59fd202de68da023ca (diff) |
fixed screenshot box to not show minimap
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 9b14ca390..5a60f9312 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -320,12 +320,13 @@ export class VideoBox extends ViewBoxAnnotatableComponent<FieldViewProps, VideoD onPause={() => this.Pause()} onClick={e => e.preventDefault()}> <source src={field.url.href} type="video/mp4" /> - Not supported. + Not supported. </video> - <audio ref={this.setAudioRef} className={`audiobox-control${this.active() ? "-interactive" : ""}`}> - <source src={this.audiopath} type="audio/mpeg" /> + {!this.audiopath ? (null) : + <audio ref={this.setAudioRef} className={`audiobox-control${this.active() ? "-interactive" : ""}`}> + <source src={this.audiopath} type="audio/mpeg" /> Not supported. - </audio>; + </audio>} </div> </div>; } |