refactor(videos): 更新视频播放器脚本引用
- 将 ArtPlayer 和 artplayer-plugin-chapter 的脚本引用从 CDN 更改为本地路径 - 修改了以下文件中的脚本引用: - 4bWST-birthday/index.html - knzB8-MC/index.html - template-video.html
This commit is contained in:
8
index/artplayer-plugin-chapter.js
Normal file
8
index/artplayer-plugin-chapter.js
Normal file
File diff suppressed because one or more lines are too long
8
index/artplayer.js
Normal file
8
index/artplayer.js
Normal file
File diff suppressed because one or more lines are too long
@@ -21,9 +21,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="artplayer-app"></div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js"></script>
|
||||
<script src="/artplayer.js"></script>
|
||||
<!-- 引入 artplayerPluginChapter 插件 -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer-plugin-chapter/dist/artplayer-plugin-chapter.js"></script>
|
||||
<script src="/artplayer-plugin-chapter.js"></script>
|
||||
<link rel="stylesheet" href="/videos/video.css">
|
||||
<script>
|
||||
document.getElementById('videoTitle').innerText = videoTitle;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<title id="pageTitle">视频播放</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js"></script>
|
||||
<script src="/artplayer.js"></script>
|
||||
<!-- 引入 artplayerPluginChapter 插件 -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer-plugin-chapter/dist/artplayer-plugin-chapter.js"></script>
|
||||
<script src="/artplayer-plugin-chapter.js"></script>
|
||||
<link rel="stylesheet" href="/videos/video.css">
|
||||
<script>
|
||||
// 视频标题、链接和说明
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="artplayer-app"></div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js"></script>
|
||||
<script src="/artplayer.js"></script>
|
||||
<!-- 引入 artplayerPluginChapter 插件 -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/artplayer-plugin-chapter/dist/artplayer-plugin-chapter.js"></script>
|
||||
<script src="/artplayer-plugin-chapter.js"></script>
|
||||
<link rel="stylesheet" href="/videos/video.css">
|
||||
<script>
|
||||
document.getElementById('videoTitle').innerText = videoTitle;
|
||||
|
||||
Reference in New Issue
Block a user