H5P Guides

Allowed File Extensions

This page contains the default whitelist over which file extensions that may be included in a H5P package.

Files that require server side execution, or files that cannot be regarded as open standard should not be included.

  • bmp
  • css
  • csv
  • diff
  • doc
  • docx
  • eof
  • gif
  • jpeg
  • jpg
  • js
  • json
  • mp3
  • mp4 (video: H.264, audio: AAC/MP3)
  • m4a (audio: AAC)
  • odp
  • ods
  • odt
  • ogg (video: Theora, audio: Vorbis)
  • otf
  • patch
  • pdf
  • png
  • ppt
  • pptx
  • rtf
  • svg
  • swf
  • textile
  • tif
  • tiff
  • ttf
  • txt
  • wav (audio: PCM)
  • webm (video VP8, audio: Vorbis)
  • woff
  • xls
  • xlsx
  • xml
  • md
  • textile
  • vtt

Administrators of websites implementing H5P may open for accepting additional formats. HTML files should not be used. The HTML for each library should be inserted by the library to ease code reuse, and avoid content being defined in the HTML.