Previews

File previews here refer to the in app/browser rendering of the contents of a file. Request to add a mime type for preview at https://github.com/frappe/drive/issues.

A full list of all the supported file previews are as follows:

Office

  • application/pdf
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Images

  • image/png
  • image/jpg
  • image/gif
  • image/svg
  • image/webp

Videos

Frappe Drive lacks any transcoding pipeline for now so only H264, H265, and AV1 codecs are supported for video streaming.

  • video/mp4
  • video/webm
  • video/quicktime

Text

Generally most text files should preview but this is ever expanding so we might miss some.

  • Most mime types with starting with text/

  • Support for this codec is platform dependant. For example: H265 only works on MacOS and Windows running Chrome (Safari also supports it).

Discard
Save