Every repository on Prismic has its own media library. You can access the media library from the main navigation by clicking on the Image icon.
The media library supports many different file types including images, sound files, videos, pdfs, and more.
Maximum file size
The maximum file size allowed depends on the file type.
- The maximum image size is 10Mb
- The maximum size for any other file type is 100Mb
These are the supported image formats for images hosted in Prismic:
When it comes to videos, we recommend that you host them through a specialized service such as YouTube or Vimeo. These services offer video compression support and both provide an excellent video player.
Doing this, you can easily add your videos to your Prismic documents by using the Embed field. It allows you to paste the URL from your Vimeo or YouTube video and display the embedded video player on your page.