Files
o.nmgjg.com.cn/index/videos/template-video.html
root a64b842735 refactor(videos): 更新视频模板文件中的资源引用路径
- 将 video.css 和 video.js 的引用路径从相对路径改为绝对路径
- 新路径为 /videos/video.css 和 /videos/video.js
2025-02-14 12:01:32 +08:00

33 lines
1.1 KiB
HTML

<html lang="zh-CN">
<head>
<title id="pageTitle">视频播放</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<link rel="stylesheet" href="/videos/video.css">
<script src="/videos/video.js"></script>
<script>
// 视频标题、链接和说明
var videoTitle = "视频标题";
var videoUrl = "./Big Buck Bunny_1080P_60fps.mp4";
var videoDescription = "视频说明,\n描述视频内容";
</script>
<div class="header">
<h1 id="videoTitle"></h1>
<div id="videoDescription" class="description"></div>
<div>
<button onclick="downloadVideo()">下载</button>
<button class="back-button" onclick="window.history.back()">返回</button>
</div>
</div>
<div class="artplayer-app"></div>
<script src="https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js"></script>
<!-- 引入 artplayerPluginChapter 插件 -->
<script src="https://cdn.jsdelivr.net/npm/artplayer-plugin-chapter/dist/artplayer-plugin-chapter.js"></script>
</body>
</html>