diff --git a/src/containers/Organization/Video/RightPanel.jsx b/src/containers/Organization/Video/RightPanel.jsx index 24838a8c..e43efa9a 100644 --- a/src/containers/Organization/Video/RightPanel.jsx +++ b/src/containers/Organization/Video/RightPanel.jsx @@ -762,9 +762,9 @@ const RightPanel = ({ currentIndex, currentSubs,setCurrentIndex, showTimeline, s style={{ fontSize: fontSize, height: "120px" }} {...props} /> - + {/* {targetLength(index)} - + */} )} /> @@ -791,9 +791,9 @@ const RightPanel = ({ currentIndex, currentSubs,setCurrentIndex, showTimeline, s }, 200); }} /> - + {/* {targetLength(index)} - + */} )} diff --git a/src/containers/Organization/Video/TranslationRightPanel.jsx b/src/containers/Organization/Video/TranslationRightPanel.jsx index ec6634ff..248bc7c7 100644 --- a/src/containers/Organization/Video/TranslationRightPanel.jsx +++ b/src/containers/Organization/Video/TranslationRightPanel.jsx @@ -772,7 +772,7 @@ const TranslationRightPanel = ({ currentIndex, currentSubs,setCurrentIndex, show ); }} /> - {sourceLength(index)} - + */} )} @@ -844,7 +844,7 @@ const TranslationRightPanel = ({ currentIndex, currentSubs,setCurrentIndex, show }} {...props} /> - {targetLength(index)} - + */} )} /> @@ -890,7 +890,7 @@ const TranslationRightPanel = ({ currentIndex, currentSubs,setCurrentIndex, show }, 200); }} /> - {targetLength(index)} - + */} )} diff --git a/src/containers/Organization/Video/VoiceOverRightPanel1.jsx b/src/containers/Organization/Video/VoiceOverRightPanel1.jsx index 18ea1370..903469a4 100644 --- a/src/containers/Organization/Video/VoiceOverRightPanel1.jsx +++ b/src/containers/Organization/Video/VoiceOverRightPanel1.jsx @@ -988,7 +988,7 @@ const VoiceOverRightPanel1 = ({ currentIndex, setCurrentIndex, showTimeline, seg ); }} /> - {sourceLength(index)} - + */} }
@@ -1066,7 +1066,7 @@ const VoiceOverRightPanel1 = ({ currentIndex, setCurrentIndex, showTimeline, seg : {} } > - + {/*
)} /> @@ -1193,7 +1193,7 @@ const VoiceOverRightPanel1 = ({ currentIndex, setCurrentIndex, showTimeline, seg }} disabled={isDisabled(index)} /> - {targetLength(index)} - + */} )} diff --git a/src/containers/Organization/Video/audioPanel.jsx b/src/containers/Organization/Video/audioPanel.jsx index 550396a2..9eaee4f3 100644 --- a/src/containers/Organization/Video/audioPanel.jsx +++ b/src/containers/Organization/Video/audioPanel.jsx @@ -65,7 +65,7 @@ const Audio = styled.audio` display: none; `; -const AudioPlayer = ({ src }) => { +const AudioPlayer = ({ src, fast = false }) => { const playerRef = useRef(null); const [isPlaying, setIsPlaying] = useState(false); const [disabled, setDisabled] = useState(false); @@ -153,7 +153,7 @@ const AudioPlayer = ({ src }) => { }, [src]); return ( - + {isPlaying ? ( diff --git a/src/utils/Sub.js b/src/utils/Sub.js index a1806564..cfda4378 100644 --- a/src/utils/Sub.js +++ b/src/utils/Sub.js @@ -16,6 +16,7 @@ export default class Sub { this.transcription_text = obj.transcription_text; this.paraphrased_text = obj.paraphrased_text; this.verbatim_text = obj.verbatim_text; + this.fast_audio = obj.fast_audio; } get check() {