Skip to content

一分钟搭建影视站,支持Docker等部署方式

fix

shinya8d2884423a2b
diff --git a/js/app.js b/js/app.js
index 4b4c112..b7cbaa3 100644
--- a/js/app.js
+++ b/js/app.js
@@ -970,7 +970,7 @@ function renderEpisodes(vodName, sourceCode) {
// 根据倒序状态计算真实的剧集索引
const realIndex = episodesReversed ? currentEpisodes.length - 1 - index : index;
return `
- <button id="episode-${realIndex}" onclick="playVideo('${episode}','${vodName.replace(/"/g, '&quot;')}', ${sourceCode}, ${realIndex})"
+ <button id="episode-${realIndex}" onclick="playVideo('${episode}','${vodName.replace(/"/g, '&quot;')}', '${sourceCode}', ${realIndex})"
class="px-4 py-2 bg-[#222] hover:bg-[#333] border border-[#333] rounded-lg transition-colors text-center episode-btn">
第${realIndex + 1}集
</button>