Skip to content

File Viewer

Bantam includes built-in viewers that let recipients view content directly in their browser without downloads.

View images with zoom and pan controls:

  • JPEG/JPG, PNG, GIF, WebP, SVG
  • Pinch-to-zoom on mobile
  • Mouse wheel zoom on desktop
  • Drag to pan when zoomed
  • Double-click/tap to reset
  • Fullscreen mode

Full-featured PDF viewing:

  • Page navigation with prev/next buttons
  • Zoom in/out controls
  • Page input for direct navigation
  • Rotate pages
  • Fullscreen mode
  • Mobile-optimized touch controls

HTML5 video player:

  • MP4, WebM, MOV
  • Standard playback controls
  • Fullscreen support
  • Mobile-friendly interface

Clean audio player:

  • MP3, WAV, OGG
  • Playback controls
  • Download option
  • Mobile-optimized

Syntax-highlighted code viewing:

  • JavaScript, TypeScript, Python, HTML, CSS, JSON
  • Line numbers and formatting
  • Raw file access
  • Mobile-friendly scrolling

Rendered markdown display:

  • Formatted headings and lists
  • Code blocks with syntax highlighting
  • Links and images
  • Toggle between rendered and source view

Basic document preview:

  • Excel (.xlsx) - Spreadsheet preview with sheet selector
  • CSV - Table view with data formatting
  • Word (.docx) - Basic text content preview

Every file viewer includes:

  • Download button - Get the original file
  • Raw view button - View source/raw content
  • Fullscreen toggle - Maximize viewing area
  • Copy URL button - Share direct link

All viewers are touch-optimized:

  • Responsive layouts that adapt to screen size
  • Touch gestures for zoom and pan
  • Large touch targets for controls
  • Smooth scrolling and animations

View metadata for each file:

  • File name and type
  • File size
  • Last modified date
  • Direct download and raw view links

For files without preview support:

  • Shows file icon and metadata
  • Provides download button
  • Displays file type information
  • Clean, consistent interface