2 years ago
#34455

Xylan
how can I find the mime type of a file-url on the web
Is there a way to check if the file I'm loading from a URL is an image or a video.
How do I differentiate between an image-type & video-type and parse them accordingly on my webpage.
i am using next.js and want to create nft previews on my web app.
javascript
reactjs
next.js
mime-types
mime
0 Answers
Your Answer