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
+1 -1
View File
@@ -143,7 +143,7 @@
`<span class="badge">${esc(typeLabel)}</span>`,
]
.filter(Boolean)
.join('<span class="hero__dot">·</span>');
.join('<span class="hero__dot" style="height: 1px;">·</span>');
slide.innerHTML = `
<img class="hero__backdrop" src="${item.backdrop}" alt="" loading="${i === 0 ? 'eager' : 'lazy'}">
+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;
}