Start adding SeriesTitlePage #160
This commit is contained in:
6 files changed
+550
-32
No files matched your search
@@ -80,10 +80,6 @@ const Hero = ({
|
||||
const [currentSubtitleIndex, setCurrentSubtitleIndex] = useState("");
|
||||
|
||||
useEffect(() => {
|
||||
console.error(
|
||||
JSON.stringify([videoTracks, audioTracks, subtitleTracks]) +
|
||||
`${new Date()}`,
|
||||
);
|
||||
if (!!videoTracks && !!audioTracks & !!subtitleTracks) {
|
||||
setCurrentVideoIndex(videoTracks[0]?.Index);
|
||||
setCurrentAudioIndex(audioTracks[0]?.Index);
|
||||
|
||||
Reference in new issue
Block a user