3

This is something I do everyday for images, but today I needed to use a video in place, for some reason I cant seem to get it to work. I uploaded a test.mp4 file to Imgur. The file gets displayed on that page and I can get share links, which are:

https://imgur.com/94hXYDX
[img]https://i.imgur.com/94hXYDX.mp4[/img]
[Imgur](https://imgur.com/94hXYDX)

But if I attempt to embed these links into a markdown document file in Obsidian the video is not displayed, I have tried the following:

![](https://imgur.com/94hXYDX)
![](https://i.imgur.com/94hXYDX.mp4)

I also tried the markdown preview of Stack Exchange websites and some other forums. The file will simply not display on that page.

I also tried uploading the file on another website and sharing it from there:

https://cdn.imgchest.com/files/my2pcppokb7.mp4

[img]https://cdn.imgchest.com/files/my2pcppokb7.mp4[/img]

Again same issue, will not display. Am I missing somethign here??

Ralf_Reddings
  • 445
  • 2
  • 9

1 Answers1

3

You can't.

Markdown doesn't have an option for video embedding/preview. See the full Markdown Syntex info from its creator https://daringfireball.net/projects/markdown/syntax#img.

As an alternative, you can either convert the video to GIF (if it's short enough), or embed a thumbnail image of the video and hyperlink it to the video.

Yisroel Tech
  • 13,220