File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -295,11 +295,11 @@ Embed a video.
295295``` md
296296<SlidevVideo v-click autoplay controls>
297297 <!-- Anything that can go in a HTML video element. -->
298- <source src="myMovie.mp4" type="video/mp4" />
299- <source src="myMovie.webm" type="video/webm" />
298+ <source src="/ myMovie.mp4" type="video/mp4" />
299+ <source src="/ myMovie.webm" type="video/webm" />
300300 <p>
301301 Your browser does not support videos. You may download it
302- <a href="myMovie.mp4">here</a>.
302+ <a href="/ myMovie.mp4">here</a>.
303303 </p>
304304</SlidevVideo>
305305```
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ This is the cover page.
5151
5252---
5353layout: center
54- background: './images/ background-1.png'
54+ background: / background-1.png
5555class: 'text-white'
5656---
5757
@@ -89,7 +89,7 @@ This is the cover page.
8989```yaml
9090# The first yaml block will be treated as the frontmatter of that slide
9191layout: center
92- background: './images/ background-1.png'
92+ background: / background-1.png
9393class: 'text-white'
9494```
9595
You can’t perform that action at this time.
0 commit comments