diff options
| author | bobzel <zzzman@gmail.com> | 2020-10-22 18:18:28 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-10-22 18:18:28 -0400 |
| commit | ffd6c9eadd0097b3a27fac183d0b7c223301a7c4 (patch) | |
| tree | cc5fcbde60d639c70836fd4c68588aebccb6855d /src/client/views/presentationview/PresElementBox.tsx | |
| parent | 94ca49c753634cce8855c5e0e7e123891630e2e2 (diff) | |
added pinwithView for videos
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.tsx')
| -rw-r--r-- | src/client/views/presentationview/PresElementBox.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx index ce97b65b7..b47e9c88a 100644 --- a/src/client/views/presentationview/PresElementBox.tsx +++ b/src/client/views/presentationview/PresElementBox.tsx @@ -252,6 +252,8 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps, PresDoc if (targetDoc.type === DocumentType.PDF || targetDoc.type === DocumentType.WEB || targetDoc.type === DocumentType.RTF) { const scroll = targetDoc._scrollTop; activeItem.presPinViewScroll = scroll; + } else if (targetDoc.type === DocumentType.VID) { + activeItem.presPinTimecode = targetDoc._currentTimecode; } else if (targetDoc.type === DocumentType.COMPARISON) { const clipWidth = targetDoc._clipWidth; activeItem.presPinClipWidth = clipWidth; |
