Skip to main content

Questions tagged [mime-types]

An Internet media type or MIME type (named for Multipurpose Internet Mail Extensions) is a two-part identifier for file formats on the Internet.

mime-types
0 votes
0 answers
17 views

MP4 file created using MediaRecorder API is not playable

I am trying to generate an mp4 file from a screen recording done via a chrome extension. The video plays back perfectly on the browser, but when I download the file and play it back locally with a ...
Nived Sanil's user avatar
0 votes
0 answers
11 views

Which mime type to start android GET_CONTENT to open apks files?

I want users to pick up an apks file to install. I made an ActivityResultLauncher instance and passed application/apks to the launch() method like this. mGetContent.launch("application/apks")...
Ammar's user avatar
  • 185
0 votes
0 answers
28 views

MIME type errors while importing SimpleLightbox inside module type script

I use Vite bundler. I have a script that imports SimpleLightbox (installed with 'npm i simplelightbox') and its CSS, and at this point I get an invalid MIME type error. When I run the server through '...
Yuump42's user avatar
0 votes
0 answers
19 views

Construct a Blob without MIME Type?

I use a nodejs public API that allow me to send some attachments in a chat. This public API ask me a Buffer and construct a Blob from my provided buffer, just like that : body.append('attachments', ...
polozer's user avatar
  • 56
1 vote
0 answers
38 views

Why can KDevelop syntax-highlighting show codes without suffix?

I'm using KDevelop-5.10 that comes with KDE Plasma-5.27. I found that KDevelop can show codes syntax highlighting, even through without suffix(*.hpp, *.h), as long as the codes are system headers. e.g:...
Leon's user avatar
  • 1,997
0 votes
0 answers
80 views

"Loading module was blocked becasue of a disallowed MIME type (“text/html”)" on GitHub Pages with Custom Domain

I am new to creating webapps using React + Vite and TypeScript. Recently I have finished my first app and was hoping to deploy it on GitHub pages using a custom domain name. I deployed it using npm ...
GuessWho's user avatar
4 votes
1 answer
44 views

Golang Make MIMETYPE File First File in Zip

I am working on making some modifications to an epub and then rezipping it. I am currently doing this in Golang. The crux of the logic is housed in this repo here. However most of the issue resides in ...
Peter Kaufman's user avatar
0 votes
1 answer
76 views

I try to print it after using cups pdftoraster, but a format error occurs

I created a pdf file into a raster file using pdftoraster.cxx of cupsfilter. This is my printer Epson L6290. Below are the supported mimetypes. "application/octet-stream" "image/pwg-...
Jungwon's user avatar
  • 930
0 votes
0 answers
52 views

npm run build for vite project not working Error: Refused to apply style because its MIME type ('text/html') is not a supported stylesheet MIME type

After building the vite project using npm run build, the compiled/built html code does not contain correct path. However the same project when run through npm run dev runs perfectly and the issue ...
Raghav Korde's user avatar
-1 votes
1 answer
55 views

How to change a Javascript MIME type from text/html to application/js in Create React App (react-unity-webgl)?

I am trying to load a Unity Webgl build in my react component using react-unity-webgl. However, the MIME type of the loader.js file is text/html when I open the networks panel. Therefore, the loader....
Hans Joseph Himawan's user avatar
1 vote
2 answers
97 views

CSS MIME type error when serving site from S3 via CloudFront

When visiting my website customtimers.net I get the following error: Refused to apply style from 'https://customtimers.net/styles.css' because its MIME type ('application/xml') is not a supported ...
IntrACate's user avatar
0 votes
0 answers
14 views

How I create a file to only my app can open it with VIEW intent?

So, my app is something like editor to specific data, which used in only my app(for now) and i want to have SEND and VIEW intent in app. I tried to use a json files but with custom extensions, but in ...
Iv. Zhuchok's user avatar
2 votes
1 answer
108 views

Audio sent with the MIME type audio/mpeg, but processed as octect - API WhatsApp

I'm capturing audio via the web using the JavaScript MediaRecorder API. I then send this media to a Go server, which then sends it to WhatsApp. Form in Go: vFile,_= os.Open(this.URL) vBuffer := new(...
RAF's user avatar
  • 33
1 vote
1 answer
41 views

Weird bug when trying to determine if a file is an image or video

I'm developing a Flutter app where I need to differentiate between image and video files. However, I've run into a peculiar issue: my client has this video file saved from WhatsApp, and when picking ...
Yoann Faraus's user avatar
0 votes
0 answers
63 views

How can i fix a strict MIME type checking issue related to PDF rendering using PDFJS, nodejs and Firebase Hosting/Storage?

I'm trying to render PDFs stored in Firebase Storage on my website hosted on Firebase Hosting. I'm using webpack to bundle my main files (not the module's one) and NodeJS. When i run the website with ...
Junky-sama's user avatar

15 30 50 per page
1
2 3 4 5
230