-1

I tried uploading a video file to CodeSandbox(It was an MP4 Windows Media Player) and I got the error, "The file is not displayed in the editor because it is either binary or uses an unsupported text encoding".

I clicked and dragged the file "Sas.mp4" and this happened:

A picture of the error.

I tried searching for this problem on Google and I got answers revolving around this specific error for VSCode and not CodeSandbox.

desertnaut
  • 57,590
  • 26
  • 140
  • 166
  • 1
    A video file is not a programming file like the `.html` and `.css` files you show. The editor doesn't support this file. To view it you'll need something that supports `.mp4` files. To edit it you'll need something that is meant for editing video files. – stdunbar Aug 29 '23 at 19:20
  • As @stdunbar said, you can not view it, but it has been imported correctly, and you can still use it in your code. – MrDiamond Aug 31 '23 at 01:06

0 Answers0