链接到我的网站:https://waqqine.github.io/A-Cute-Girl-moving-background-website/
到我的GitHub仓库的链接是:https://github.com/Waqqine/A-Cute-Girl-moving-background-website
您使用绝对路径引用视频:
<video src="/pexels-anna-nekrashevich-8056000.mp4" muted loop autoplay></video>
将其更改为相对路径(删除初始/
或使其成为./
),然后您就可以了:
<video src="pexels-anna-nekrashevich-8056000.mp4" muted loop autoplay></video>