Jj Del Carpio

Jj's web stream

Adding video support to the blog

Evidently, having all the pieces in place for file uploads made the changes in the server very easy. The micropub specification just says that you need the video parameter.

On the client side, same blob url for the video tag source worked nicely. Just had to keep separate lists of video and images. Thankfully the browser exposes a .type attribute for files that contains the mime type.

Here's the example post

Shared on:

Jj Avatar of Jj

Reply or react to this post via Webmentions or reply or like to the Mastodon, Twitter or Instagram post.