mojombo/jekyll — Issue #491: Jekyll --server : missing mime-types for video
Author: sanderboer
Created: 2012-01-28 11:36:59+00:00
State: open

Hi,
I'm making an S5 presentation collection site for myself as embedding video in a presentation is historically a colossal pain in the behind. S5 & Jekyll suited me well, but when run locally I found that Jekyll serves the pages with a very limited mime-type list.

I added:

mime_types.store 'webm', 'video/webm'
mime_types.store 'ogv', 'video/ogg'
mime_types.store 'ogg', 'video/ogg'

to bin/jekyll, right after line 269

This works for me, but I imagine a gem update will ruin my day. Also others might want to have a more robust mime-type list.
I would like to suggest importing apache's mime-types.

Thanks for the great work, I use it with a great deal of pleasure.

Kind regards,

Sander