arrow_circle_up2arrow_circle_down

Sell Videos

Video Upload & Management

  • Upload video files (.mp4, .mov, .avi, .wmv, .flv, .webm, .mkv) to Sunshine galleries
  • Videos are stored as WordPress attachments, similar to images
  • Client-side thumbnail generation from video frames during upload
  • Manual preview video upload option in the attachment edit screen
  • Video thumbnail display in admin gallery lists with placeholder icons when thumbnails aren't ready

Video Display

  • Video thumbnails with play icon overlay in frontend galleries
  • HTML5 video player on single video attachment pages
  • Video playback in lightbox (lightgallery.js with VideoJS support)
  • Poster images for videos in galleries and lightbox
  • Automatic thumbnail updates in admin after generation

Video Sales

  • Special "video product" type (download product with video flag)
  • Direct add-to-cart for videos (skips product selection modal)
  • One video per cart restriction (prevents duplicates)
  • Video products excluded from regular image product lists
  • Integration with Sunshine Digital Downloads for video file delivery

Admin Features

  • Video indicator icons in gallery admin
  • Video placeholder styling (100px square, centered icons)
  • Preview video upload/removal in attachment edit screen
  • Video metadata display (duration, resolution when available)
  • Automatic featured image setting for galleries when first item is a video

Technical Integration

  • Works without modifying core Sunshine Photo Cart plugin
  • Uses WordPress hooks and filters for extensibility
  • Compatible with cloud storage (S3 offloading)
  • Secure file handling and validation
  • Error logging for troubleshooting (errors only, no routine debug logs)
In Progress
chat_bubble0