Skip to content

[BUG] Uploader rejects valid videos with generic MIME types #1475

Open

Description

@Pratyush-Panda-2006

src/hooks/useVideoEditor.ts and src/hooks/useVideoEditor.ts require the file MIME type to start with video/ before continuing. Many valid files come through with empty or generic MIME types from OS pickers, drag-and-drop, or browser quirks, so real videos can be rejected even when their extension and magic bytes are correct.

Activity

  1. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    👋 Thanks for opening an issue, @Pratyush-Panda-2006!

    Our maintainers will review this shortly 🚀

    Before you start working

    • 📖 Read the CONTRIBUTING.md guide
    • 💬 Wait for a maintainer to assign you the issue before starting work
    • 🔍 Search for existing issues to avoid duplicates

    For GSSoC'26 contributors

    If you're contributing under GirlScript Summer of Code 2026, please mention it in your comment when requesting assignment:

    "I'd like to work on this — contributing under GSSoC'26"

    Architecture notes

    Reframe is a static Next.js app with output: "export". Key points:

    • All video processing uses FFmpeg.wasm (client-side, no server)
    • headers() in next.config.ts won't work — use vercel.json instead
    • not-found.tsx requires public/404.html + vercel.json routes config

    Happy contributing! ⭐ Star the repo if you find it useful!

  2. Pratyush-Panda-2006 commented on Jun 1, 2026

    @Pratyush-Panda-2006
    Author

    /assign

  3. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    Hey @Pratyush-Panda-2006, this issue has been assigned to you! 🎉 Please make progress within 5 days or it will be automatically unassigned due to inactivity.

  4. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor

    Hey @Pratyush-Panda-2006, just a friendly reminder that this issue has had no activity for 2 days. Please leave an update or let us know if you need help! ⏰

  5. github-actions commented on Jun 7, 2026

    @github-actions
    Contributor

    Hey @Pratyush-Panda-2006, final warning! ⚠️ This issue has had no activity for 4 days and will be automatically unassigned in 24 hours if there is no update.

  6. github-actions commented on Jun 12, 2026

    @github-actions
    Contributor

    This issue has been unassigned from @Pratyush-Panda-2006 due to 5 days of inactivity and is open for anyone to pick up — comment /assign to claim it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlytype:bugBug fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions