787 B

TODO: Two-Stage Upload Modal Implementation

Task

Restructure the video upload modal to have:

  • Stage 1: Upload video file (with progress bar)
  • Stage 2: Title and Description
  • Stage 3: Thumbnail
  • Stage 4: Privacy settings

Implementation Steps

Step 1: Update VideoController.php

  • Add new endpoint for temp video upload (returns temp filename)
  • Modify store method to handle two-step process

Step 2: Update routes/web.php

  • Add route for temp video upload

Step 3: Update upload-modal.blade.php

  • Restructure steps: Video → Details → Thumbnail → Privacy
  • Update step indicators
  • Add video upload with progress bar in Stage 1
  • Update JavaScript for new flow

Step 4: Test

  • Test the complete upload flow