Log in Sign up

What is the best way to host video?

Image files render directly in blot, but not so videos (eg. mp4). It the ideal solution to host videos on a 3rd party site and then embed them?


2 years ago, 4 replies   Edit question

You can embed video files from your folder in posts.

For example, you can paste the HTML to embed the video directly in your markdown file. If the video file _movie.mp4 is in the same folder as the markdown the following will work:

<video><source src="_movie.mp4"></video>

Note that I plan to eventually add support for video posts, so it might be worth prefixing the video file with an underscore, to ensure Blot doesn't turn it into its own post in future.

You can always upload the video to another service like YouTube or Vimeo, but that strikes me as too much effort!

Answered 4 years ago · Edit answer

I found that I had to add a type to the video source to get the video player to work, otherwise I was just shown an oversized thumbnail.

<video><source src="_movie.mp4" type="video/mp4"></video>
Answered 4 years ago · Edit answer

I had a similar question and I didn't want to use Youtube or similar but I also didn't want to take up Dropbox space with videos or suck up bandwidth from Blot/David....

I ended up going with BunnyCDN's stream service (https://bunny.net/stream/) and it works great with a built in player you can customize. It's extremely cheap.

All you need to do after uploading a video is to copy and paste the embed code into your document/file.

You may want to check it out. I'm happy with it and the video quality is very good.

Ray

Answered 2 years ago · Edit answer

Vimeo? I would say hosting on a third party video site is best unless you have really strong reasons for not doing so. It's much more reliable and future proof than having to host yourself somewhere.

Answered 2 years ago · Edit answer