🎥 Make videos programmatically with React
hide quality and codec option if muted in studio
Igor Samokhovets956cf80bd0ed
diff --git a/packages/studio/src/components/RenderModal/WebRenderModalAudio.tsx b/packages/studio/src/components/RenderModal/WebRenderModalAudio.tsxindex 8547851078..ed1e345c1a 100644--- a/packages/studio/src/components/RenderModal/WebRenderModalAudio.tsx+++ b/packages/studio/src/components/RenderModal/WebRenderModalAudio.tsx@@ -122,28 +122,28 @@ export const WebRenderModalAudio: React.FC<{/></div></div>+ <div style={optionRow}>+ <div style={label}>+ Audio Codec+ <Spacing x={0.5} />+ </div>+ <div style={rightRow}>+ <Combobox+ values={audioCodecOptions}+ selectedId={audioCodec}+ title="Audio Codec"+ />+ </div>+ </div>+ {effectiveAudioCodec !== audioCodec ? (+ <div style={fallbackNoticeStyle}>+ {humanReadableWebAudioCodec(audioCodec)} is not available in this+ browser. Using {humanReadableWebAudioCodec(effectiveAudioCodec)}{' '}+ instead.+ </div>+ ) : null}</>) : null}- <div style={optionRow}>- <div style={label}>- Audio Codec- <Spacing x={0.5} />- </div>- <div style={rightRow}>- <Combobox- values={audioCodecOptions}- selectedId={audioCodec}- title="Audio Codec"- />- </div>- </div>- {effectiveAudioCodec !== audioCodec ? (- <div style={fallbackNoticeStyle}>- {humanReadableWebAudioCodec(audioCodec)} is not available in this- browser. Using {humanReadableWebAudioCodec(effectiveAudioCodec)}{' '}- instead.- </div>- ) : null}</div>);};