Skip to content

Embedding Videos in Markdown #3224

Answered by rjzupkoii
John-Zou-PEK asked this question in Q&A
Discussion options

You must be logged in to vote

Embedding video in Markdown isn't supported, so you will need to use HTML instead. Modern browsers should support syntax like the following:

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

You can include HTML in the *.md files, and the Markdown around it will be processed as normal.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@John-Zou-PEK
Comment options

@rjzupkoii
Comment options

@John-Zou-PEK
Comment options

Answer selected by John-Zou-PEK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants