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
View File
@@ -129,7 +129,6 @@
.hero__dot { .hero__dot {
color: rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.35);
height: 1px !important;
} }
.hero__meta .badge { .hero__meta .badge {
+1 -1
View File
@@ -143,7 +143,7 @@
`<span class="badge">${esc(typeLabel)}</span>`, `<span class="badge">${esc(typeLabel)}</span>`,
] ]
.filter(Boolean) .filter(Boolean)
.join('<span class="hero__dot">·</span>'); .join('<span class="hero__dot" style="height: 1px;">·</span>');
slide.innerHTML = ` slide.innerHTML = `
<img class="hero__backdrop" src="${item.backdrop}" alt="" loading="${i === 0 ? 'eager' : 'lazy'}"> <img class="hero__backdrop" src="${item.backdrop}" alt="" loading="${i === 0 ? 'eager' : 'lazy'}">
+3 -3
View File
@@ -816,12 +816,13 @@
} }
playButton.addEventListener('click', () => { playButton.addEventListener('click', () => {
if (state.episode == null) { if (type === 'tv' && state.episode == null) {
if (state.episodes.length) playEpisode(state.episodes[0].episode_number); if (state.episodes.length) playEpisode(state.episodes[0].episode_number);
return; return;
} }
if (state.loadedKey === keyFor() && state.streams.length) { if (state.loadedKey === keyFor() && state.streams.length) {
openPlayer(); openPlayer();
video.play().catch(() => {});
return; return;
} }
openPlayer(); openPlayer();
@@ -844,8 +845,7 @@
renderHero(details); renderHero(details);
if (type !== 'tv') { if (type !== 'tv') {
openPlayer(); setPlayLabel();
loadStreams();
return; return;
} }
+1 -1
View File
@@ -130,6 +130,6 @@
<script src="js/cards.js?v=20260827"></script> <script src="js/cards.js?v=20260827"></script>
<script src="js/app.js?v=20260827"></script> <script src="js/app.js?v=20260827"></script>
<script src="js/player.js?v=20260827"></script> <script src="js/player.js?v=20260827"></script>
<script src="js/watch.js?v=20260829"></script> <script src="js/watch.js?v=20260830"></script>
</body> </body>
</html> </html>