-
I am using the # My markdown file
<video width="100%" controls autoplay loop>
<source src="../media/video.mp4" type="video/mp4">
</video> To make it work on local build I need to preppend an extra How can I make mkdocs build documentation with URLs that load the video for both cases? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, using relative paths should really work. It is absolute paths that usually cause problems. Where do the videos live? Assets are normally within the |
Beta Was this translation helpful? Give feedback.
Hi, using relative paths should really work. It is absolute paths that usually cause problems. Where do the videos live? Assets are normally within the
docs
directory so they get copies tosite
. Not sure why the path would be different on the server. What you say implies that specifyingmedia/video.mp4
works on the server?