abi / abi/screenshot-to-code

Support .mov for video upload

Ouverte
#384 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
78.7k
Forks
9.6k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Describe the bug**
When I upload a video with a .mov extension, the file is recognized as an image format.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to http://localhost:5173/
2. Click on file uploader
3. Select a file with a .mov extension
4. The file is recognized as an img.

**Screenshots of backend AND frontend terminal logs**
I printed the Base64 of the file and found that the prefix is data:application/octet-stream, so it is recognized as an img.

image

Here is the corresponding code

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.