diff options
| author | sharkiecodes <lanyi_stroud@brown.edu> | 2025-06-05 22:48:33 -0400 |
|---|---|---|
| committer | sharkiecodes <lanyi_stroud@brown.edu> | 2025-06-05 22:48:33 -0400 |
| commit | 42b35b687f081e579cbec524426105df3ac695ef (patch) | |
| tree | 1fdfd3e14699f5e34c1cc6aedb96316ece746a36 /src/client/views/nodes/VideoBox.tsx | |
| parent | 7626527799c0606fa9c4fd4d26a19189dc7e7a0e (diff) | |
attempting marqueeview gen of multiple scrapbooks
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 0e7afbab1..404be6a1b 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -151,7 +151,8 @@ export class VideoBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { const tokens = label.split(/\s+/); this.Document.$tags_chat = new List<string>(); tokens.forEach(tok => (this.Document.$tags_chat as List<string>).push(tok)); - + const aspect = this.player!.videoWidth / (this.player!.videoHeight || 1); + (this.Document.$tags_chat as List<string>).push(`ASPECT_${aspect}`); // 5) Turn on tag display in layout this.Document._layout_showTags = true; |
