This commit is contained in:
4DBug
2026-08-27 11:36:11 -05:00
parent c14ea9a853
commit 937e6b8ea6
4 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -816,12 +816,13 @@
}
playButton.addEventListener('click', () => {
if (state.episode == null) {
if (type === 'tv' && state.episode == null) {
if (state.episodes.length) playEpisode(state.episodes[0].episode_number);
return;
}
if (state.loadedKey === keyFor() && state.streams.length) {
openPlayer();
video.play().catch(() => {});
return;
}
openPlayer();
@@ -844,8 +845,7 @@
renderHero(details);
if (type !== 'tv') {
openPlayer();
loadStreams();
setPlayLabel();
return;
}