Add season component #160

This commit is contained in:
Prayag Prajapati committed 2023-09-12 16:09:13 +05:30
1 parent 316dfae793
commit ee6b976e84
4 files changed
+159 -74

No files matched your search

+3 -3
View File
@@ -75,9 +75,9 @@ const Hero = ({
filterMediaStreamSubtitle,
);
const [currentVideoIndex, setCurrentVideoIndex] = useState("");
const [currentAudioIndex, setCurrentAudioIndex] = useState("");
const [currentSubtitleIndex, setCurrentSubtitleIndex] = useState("");
const [currentVideoIndex, setCurrentVideoIndex] = useState(0);
const [currentAudioIndex, setCurrentAudioIndex] = useState(0);
const [currentSubtitleIndex, setCurrentSubtitleIndex] = useState(0);
useEffect(() => {
if (!!videoTracks && !!audioTracks & !!subtitleTracks) {