Videos that play straight away
Upload an MP4, WebM or MOV, then paste its link into a video tag:
<video controls preload="metadata" width="1280" height="720"
poster="https://cdn.simpananawan.com/tr:w-1280,f-auto/u/you/video/cover.jpg"
src="https://cdn.simpananawan.com/u/you/video/intro.mp4"></video>
Simpanan supports partial file requests (byte ranges). Videos start playing before they finish downloading, and visitors can skip to any point. Safari on Mac, iPhone and iPad needs this to play video at all, so your videos work there too.
The cover image (poster) can be any image in your library, with size and format options.
What you need to prepare
Videos are delivered exactly as uploaded. Simpanan doesn't convert video to other resolutions and doesn't offer adaptive streaming (HLS) that adjusts quality to the visitor's connection. So:
- Use MP4 with the H.264 codec so it plays in almost every browser and device.
- Compress videos before uploading, for example to 720p or 1080p at a sensible bitrate.
- For very long videos or live streams, a dedicated streaming service is a better fit.
PDFs, audio, fonts and archives
Any file type can be stored, up to 500 MB per file. Files are sent with the correct content type, so browsers know how to show them:
- PDFs open right in the browser, good for catalogues, menus or brochures.
- Audio such as MP3, M4A and WAV plays with an audio tag.
- Fonts in WOFF2, WOFF, TTF and OTF can be used from CSS.
- Office documents and archives such as DOCX, XLSX, ZIP and RAR download from their link.
Safe for visitors
Uploaded HTML or SVG files are delivered with a security sandbox, so they can't run harmful scripts or steal login sessions on Simpanan.