hls文件通过内部引用

This commit is contained in:
jiayu 2024-11-19 14:59:24 +08:00
parent 63f5ed98df
commit 0b0dfb1b7b
2 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,8 @@
if (isDark) html.style.background = "#141414"; if (isDark) html.style.background = "#141414";
} }
</script> </script>
<script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script> <!-- <script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script> -->
<script src="/static/hls.js"></script>
<script src="/static/setting.js"></script> <script src="/static/setting.js"></script>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>

2
public/static/hls.js Normal file

File diff suppressed because one or more lines are too long