How to embed videos (.mp4
, .gif
, etc.)?
#3984
Replies: 3 comments 17 replies
-
Those are all good ways. It depends on what you are trying to do. Often, a simple GIF has worked for me in the past. I've used LICEcap which works on macOS and windows. It's pretty basic but gets the job done. Your needs may be more complex than what I've generally needed though. There are ways to potentially include dark and light variants of videos and only show one specific one during light or dark mode, but I honestly have never gone down that road. I usually just pick a scenario to record in and that is what I use in both light and dark mode. Others may have solutions that may fit your needs more 🤷🏻 . |
Beta Was this translation helpful? Give feedback.
-
If you can host your own video files, these lines work great.
|
Beta Was this translation helpful? Give feedback.
-
This works perfectly <video controls>
<source src="VideoURL.mp4" type="video/mp4">
</video> |
Beta Was this translation helpful? Give feedback.
-
Has anyone ever embedded videos in Mkdocs for material to demonstrate particular concepts ? Any stuff you could recommend in terms of what software you use to make the videos/gifs and perhaps making to look good overall in light/dark mode etc.
Beta Was this translation helpful? Give feedback.
All reactions