diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-03-19 13:24:40 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-03-19 13:24:40 -0400 |
commit | affc5b961dac36bd2486ec45fceaaf69eb4afc63 (patch) | |
tree | 9da973f803eb80fed5352c0db18b7a766e58fd9f /src | |
parent | e82bac3d8a0e796b8477b2e875e685c16a224a8d (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index de9e521f6..cfa6fa8a3 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -41,7 +41,7 @@ export class ScreenshotBox extends DocAnnotatableComponent<FieldViewProps, Scree const nativeWidth = (this.Document._nativeWidth || 0); const nativeHeight = (this.Document._nativeHeight || 0); if (!nativeWidth || !nativeHeight) { - if (!this.Document._nativeWidth) this.Document._nativeWidth = this.player!.videoWidth; + if (!this.Document._nativeWidth) this.Document._nativeWidth = 400; this.Document._nativeHeight = (this.Document._nativeWidth || 0) / aspect; this.Document._height = (this.Document._width || 0) / aspect; } |