diff options
author | mehekj <mehek.jethani@gmail.com> | 2022-06-09 10:26:37 -0400 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2022-06-09 10:26:37 -0400 |
commit | 4b6a199e1508ff853ce29a3298e202ae7fbe43dd (patch) | |
tree | a920659a49eca6342bf539647f49db6e0e49ebed /src | |
parent | 9501e39728851d7cd66faa51c619e17b0265f56e (diff) |
fixed video snapshot
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 172b0b16f..80ff19519 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -305,7 +305,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp //convert to desired file format const dataUrl = canvas.toDataURL('image/png'); // can also use 'image/png' // if you want to preview the captured image, - const retitled = StrCast(this.rootDoc.title).replace(/[ -\.]/g, ""); + const retitled = StrCast(this.rootDoc.title).replace(/[ -\.:]/g, ""); const encodedFilename = encodeURIComponent("snapshot" + retitled + "_" + (this.layoutDoc._currentTimecode || 0).toString().replace(/\./, "_")); const filename = basename(encodedFilename); VideoBox.convertDataUri(dataUrl, filename).then((returnedFilename: string) => |