fix: 修复视频播放不了的问题

This commit is contained in:
zhongyidian committed 2025-09-17 10:18:39 +08:00
1 parent e0974591b2
commit ac7d712437
6 files changed
+5 -16

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ dist-ssr
*.local
# 忽略所有 .mp4 文件
*.mp4
public/video/*
# Editor directories and files
.vscode/*
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1a839465886e2b416640cd4965e025e7b5e6d93348dce587ad65605168b3198
size 5551707
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:340f14a52824d69edddafb17723ce7333cc1a78cc68eeaf1b527023c153e11f8
size 89353820
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0dd44118547c08cf9c90b816011407dddb6c1903800cc26c6ccf4da33ee4f3f4
size 62475428
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:595b182c8e87c640b3b9aae30ca65728a4ed205b3124ece360ff887080a21749
size 6884025
+4 -4
View File
@@ -4,9 +4,9 @@ import { useRouter, useRoute } from 'vue-router'
import ImgButton from '@/components/Button/ImgButton.vue'
import { GuideSteps } from '@/components/Guide'
import { getStaticImage, IMAGE_PATHS } from '@/utils'
import second from '@/assets/video/pzzx.mp4'
import third from '@/assets/video/gt.mp4'
import fourth from '@/assets/video/ch.mp4'
import second from '/video/基础景别.mp4'
import third from '/video/构图.mp4'
import fourth from '/video/脚本.mp4'
const router = useRouter()
const route = useRoute()
@@ -107,7 +107,7 @@ onMounted(() => {
<video
ref="videoRef"
v-else-if="key === 'case'"
src="@/assets/video/xyz.mp4"
src="/video/xyz.mp4"
controls
@play="handlePlay"
></video>