Skip to content

Commit

Permalink
Updated media types
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster authored Feb 8, 2017
1 parent dab1820 commit 5d805db
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pages/02.content/07.media/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ Grav uses a **smart-caching** system that automatically creates in-cache copies

The following media file types are supported natively by Grav. Additional support for media files and streaming embeds may be added via plugins.

| Media Type | File Type |
| :----- | :----- |
| Image | jpg, jpeg, png |
| Audio | mp3, wav, wma, ogg, m4a |
| Animated image | gif |
| Vectorized image | svg |
| Video | mp4, mov, m4v, swf |
| Data / Information | txt, doc, html, pdf, zip, gz |
| Media Type | File Type |
| :----- | :----- |
| Image | jpg, jpeg, png |
| Audio | mp3, wav, wma, ogg, m4a, aiff, aif |
| Animated image | gif |
| Vectorized image | svg |
| Video | mp4, mov, m4v, swf, flv, webm, ogv |
| Data / Information | txt, doc, docx, html, htm, pdf, zip, gz, 7z, tar, css, js, json, xml, xls, xlt, xlm, xlsm, xld, xla, xlc, xlw, xll, ppt, pps, rtf, bmp, tiff, mpeg, mpg, me, avi, wmv |
| | |

A full list of supported mimetypes can be found in the `system/config/media.yaml` file. If there is a mimetype that is not currently supported, you can simply create your own `user/config/media.yaml` and add it in there. Just ensure you follow the same format as the original `system` file. The simplest approach is to copy the whole original file and make your edits.

Expand Down

0 comments on commit 5d805db

Please sign in to comment.