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.
295
295
``` md
296
296
<SlidevVideo v-click autoplay controls>
297
297
<!-- 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" />
300
300
<p>
301
301
Your browser does not support videos. You may download it
302
- <a href="myMovie.mp4">here</a>.
302
+ <a href="/ myMovie.mp4">here</a>.
303
303
</p>
304
304
</SlidevVideo>
305
305
```
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ This is the cover page.
51
51
52
52
---
53
53
layout: center
54
- background: './images/ background-1.png'
54
+ background: / background-1.png
55
55
class: 'text-white'
56
56
---
57
57
@@ -89,7 +89,7 @@ This is the cover page.
89
89
```yaml
90
90
# The first yaml block will be treated as the frontmatter of that slide
91
91
layout: center
92
- background: './images/ background-1.png'
92
+ background: / background-1.png
93
93
class: 'text-white'
94
94
```
95
95
You can’t perform that action at this time.
0 commit comments