push
This commit is contained in:
@@ -129,7 +129,6 @@
|
||||
|
||||
.hero__dot {
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
height: 1px !important;
|
||||
}
|
||||
|
||||
.hero__meta .badge {
|
||||
|
||||
+1
-1
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -130,6 +130,6 @@
|
||||
<script src="js/cards.js?v=20260827"></script>
|
||||
<script src="js/app.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>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user