diff options
| author | bobzel <zzzman@gmail.com> | 2022-03-24 09:58:01 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-03-24 09:58:01 -0400 |
| commit | 6e61005b3b6dd8deeb3ca43a8c6241d7778a1998 (patch) | |
| tree | 953597dd95978aee5f9d6347e1d3cdc63781d77d /src/client/views/nodes/WebBox.tsx | |
| parent | 9379d15829aeac6c13ac6d2333c883c4d3f57d9f (diff) | |
fixed videoBox play issue. cleaned up global referencing a bit.
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
| -rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index 7969546c5..2928b6227 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -145,7 +145,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps NumCast(this.layoutDoc._scrollTop) ).then ((dataUrl: any) => { - VideoBox.convertDataUri(dataUrl, this.layoutDoc[Id] + "-thumb" + (new Date()).getTime(), true).then( + VideoBox.convertDataUri(dataUrl, this.layoutDoc[Id] + "-thumb" + (new Date()).getTime()).then( returnedfilename => setTimeout(action(() => this.layoutDoc.thumb = new ImageField(returnedfilename)), 500)); }) .catch(function (error: any) { |
