Skip to content

Commit 05efa58

Browse files
fix: video
1 parent 47cab06 commit 05efa58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/guide/1.gettingStarted/1.introduction.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { normalizeImagePath } from 'rspress/runtime';
12
# Introduction
23

34
<video controls width="100%">
4-
<source src="/example.mp4" type="video/mp4" />
5+
<source src={normalizeImagePath("/example.mp4")} type="video/mp4" />
56
Your browser does not support the video tag.
67
</video>
78

0 commit comments

Comments
 (0)