fix(files-tab): remove inline video preview from proxy row
This commit is contained in:
parent
4f98f2b773
commit
e9eeb84c5f
1 changed files with 1 additions and 13 deletions
|
|
@ -799,19 +799,7 @@ function FilesTab({ asset, filmFrames, filmstripLoading, streamUrl, reprocessing
|
||||||
actionLabel={reprocessing === 'proxy' ? 'Queuing…' : 'Re-generate'}
|
actionLabel={reprocessing === 'proxy' ? 'Queuing…' : 'Re-generate'}
|
||||||
onAction={onRegenProxy}
|
onAction={onRegenProxy}
|
||||||
disabled={reprocessing === 'proxy'}
|
disabled={reprocessing === 'proxy'}
|
||||||
>
|
/>
|
||||||
{streamUrl && (
|
|
||||||
<video
|
|
||||||
src={streamUrl}
|
|
||||||
style={{ width: '100%', maxHeight: 160, objectFit: 'contain', borderRadius: 4, background: '#000', display: 'block' }}
|
|
||||||
muted
|
|
||||||
controls
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
{!streamUrl && !hasProxy && (
|
|
||||||
<div style={{ fontSize: 11.5, color: 'var(--text-3)' }}>No browser-playable proxy yet.</div>
|
|
||||||
)}
|
|
||||||
</FileRow>
|
|
||||||
|
|
||||||
{/* Hi-res */}
|
{/* Hi-res */}
|
||||||
<FileRow
|
<FileRow
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue