🎥 Make videos programmatically with React
yes
Jonny Burgercfee827f39e1
diff --git a/packages/studio/src/components/Timeline/TimelineMediaInfo.tsx b/packages/studio/src/components/Timeline/TimelineMediaInfo.tsxindex 41d8e3fe9c..86bff322d0 100644--- a/packages/studio/src/components/Timeline/TimelineMediaInfo.tsx+++ b/packages/studio/src/components/Timeline/TimelineMediaInfo.tsx@@ -104,6 +104,10 @@ const useAssetLink = (src: string) => {color: linkInfo && hovered ? LIGHT_TEXT : VERY_LIGHT_TEXT,cursor: linkInfo ? 'pointer' : undefined,textDecoration: 'none',+ display: 'inline-block',+ overflow: 'hidden',+ whiteSpace: 'pre',+ textOverflow: 'ellipsis',}),[linkInfo, hovered],);diff --git a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsxindex 6f0c81fb23..a13fa5102c 100644--- a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx+++ b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx@@ -15,14 +15,11 @@ import {import React, {useEffect, useMemo, useRef, useState} from 'react';import type {LoopDisplay} from 'remotion';import {useVideoConfig} from 'remotion';-import {- TIMELINE_LAYER_HEIGHT_IMAGE,- TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT,-} from '../../helpers/timeline-layout';+import {TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT} from '../../helpers/timeline-layout';import {AudioWaveform} from '../AudioWaveform';import {getTimelineVideoInfoWidths} from './get-timeline-video-info-widths';-const FILMSTRIP_HEIGHT = TIMELINE_LAYER_HEIGHT_IMAGE - 2;+const FILMSTRIP_HEIGHT = 48;const outerStyle: React.CSSProperties = {width: '100%',