Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add local video file in markDown md file

Tags:

markdown

Can you add a local video(mov) from same folder file to a markDown file(md)

I have tried: [![Video](file:video.mov

Do you know?

like image 320
Chris G. Avatar asked Sep 18 '17 07:09

Chris G.


People also ask

How do I play a video in readme MD?

You just drag your video file on your laptop or pc to the markdown file in Github. Done.

How do I add local videos to my readme?

With the latest update all you have to do is open your markdown editor in GitHub and just drag your media into the editor and it should be added to your README.

How do I insert a file into markdown?

You can now attach files, including images, to markdown files while you're editing them in the web. This works just like file attachments in issues and pull requests and supports the same file types. Just drag and drag, click and select, or paste.


1 Answers

Depending on your markdown processor, there may be a built-in syntax. For example, in pandoc the image syntax with a video file extension (.mov, .mp4) can be used:

![](my_video.mov)

For other processors, you can always write raw-HTML in your markdown:

<video width="320" height="240" controls>
  <source src="video.mov" type="video/mp4">
</video>
like image 164
mb21 Avatar answered Oct 08 '22 04:10

mb21