ugcinc 4.5.7 → 4.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -110,7 +110,7 @@ const definition = (0, types_1.defineNode)({
|
|
|
110
110
|
const selectedVideoUrl = (0, selection_1.selectFromPool)(videoUrlPool, selectionMode, index, `preview-${output.id}`);
|
|
111
111
|
const selectedIdx = selectedVideoUrl ? videoUrlPool.indexOf(selectedVideoUrl) : -1;
|
|
112
112
|
const selectedThumbnail = selectedIdx >= 0 ? thumbnailPool[selectedIdx] : undefined;
|
|
113
|
-
result[output.id] = { url: selectedVideoUrl ?? selected,
|
|
113
|
+
result[output.id] = { url: selectedVideoUrl ?? selected, thumbnail: selectedThumbnail };
|
|
114
114
|
}
|
|
115
115
|
else if (portType === 'image') {
|
|
116
116
|
result[output.id] = { url: selected };
|
|
@@ -173,7 +173,7 @@ function RGBAShiftOverlay({ src, srcType }) {
|
|
|
173
173
|
const mediaStyle = {
|
|
174
174
|
width: '100%',
|
|
175
175
|
height: '100%',
|
|
176
|
-
objectFit: '
|
|
176
|
+
objectFit: 'contain',
|
|
177
177
|
};
|
|
178
178
|
const MediaElement = srcType === 'video'
|
|
179
179
|
? () => (0, jsx_runtime_1.jsx)(remotion_1.Video, { src: src, style: mediaStyle })
|
|
@@ -305,7 +305,7 @@ function DeduplicationPreview({ src, srcType, config, }) {
|
|
|
305
305
|
const mediaStyle = {
|
|
306
306
|
width: '100%',
|
|
307
307
|
height: '100%',
|
|
308
|
-
objectFit: '
|
|
308
|
+
objectFit: 'contain',
|
|
309
309
|
};
|
|
310
310
|
return ((0, jsx_runtime_1.jsxs)(remotion_1.AbsoluteFill, { style: { backgroundColor: '#000000' }, children: [(0, jsx_runtime_1.jsx)("div", { style: {
|
|
311
311
|
position: 'absolute',
|