All Questions
Tagged with blob javascript
1,730
questions
-3
votes
0
answers
48
views
How do I download CSV files with URLs starting with "blob"? [closed]
I am trying to automate the download of the csv files located on this page https://indexdata.six-group.com/swiss_reference_rates/other_terms.html (column: Historical Values). When looking at the url ...
0
votes
0
answers
22
views
Website from zip file renderer - problems with nested dependencies from blob
I have been working on a solution to render a webpage (with dependencies etc) from a zip file.
I have gotten sofar that it renders most things relatively well,
But inline scripts that fetch yet other ...
0
votes
0
answers
11
views
Webm file downloaded from user's microphone does not have duration metadata [duplicate]
I am trying to record the user's microphone, and then send it to an API.
I did the code for the recording, and it works well, but when I send it to the API, it says that it does not have a duration.
...
0
votes
0
answers
30
views
Blazor JSRUNTIME iframe not working with blob
I have this in an private async Task method
await JsRuntime.InvokeVoidAsync("Test");
and is working with this :
async function Test() {
return await new Promise((resolve) => {
...
0
votes
0
answers
66
views
Error fetching blob in huggingface endpoints API
I'm new to using the huggingface.js api, my project was previously built with the openAI GPT API so I assume there are a lot of changes that I need to make in order to work with huggingface.js.
This ...
0
votes
0
answers
35
views
How to download a pdf with specific file name from a blob url
const b64toBlob = (b64Data, extension) => {
const byteCharacters = atob(b64Data);
const len = byteCharacters.length;
const buffer = new Uint8Array(len);
for (let i = 0; i < len; i += ...
2
votes
2
answers
89
views
upload audio blob to server and save as file
I have 3 buttons to rec, stop and play audio.
Using MediaRecorder is easy to get an audio blob running.
Problems arise when I try to upload the blob as a file to the server.
I have an audio element ...
0
votes
0
answers
44
views
Chrome Extension (v3) - Download a Uint8array file (.ts file) [duplicate]
I have a Uint8array (that I've created by concatenating arrayBuffers from fetching several .ts files); I am attempting to send the U8A as a message to a content script in a tab and download it by ...
0
votes
0
answers
22
views
Duplicate Recording Requests in Browser Extension for Mic/Screen sourced Audio Transcription
I have a website where a function is the user can transcribe audio from their mic and pc audio at the same time, to run other things (core function). Since he browser won't let computer audio to be ...
0
votes
1
answer
33
views
Pdf to Blob for Firebase Storage
I am trying to convert a PDF to a Blob so I can upload it to Firebase Storage. Although I can see the uploaded PDF in the Firebase console, I cannot open it. I get the error: "Failed to load PDF ...
-1
votes
1
answer
155
views
How to correctly download pdf and docx file in React JS?
I am trying to download docx or pdf file in React JS(depending on server response) when I get the response from the server. Backend is implemented in Python/Flask.
When I try to download the file, it ...
0
votes
0
answers
20
views
Image File gets wrong when changing into blob
fetchFileApi(src).then((response: AxiosResponse) => {
try {
const blob = new Blob([response.data], {
type: response.headers["content-type"],
});
...
2
votes
0
answers
73
views
Byte array transfer through echo framework to JS blob
I'm trying to pass the result of a google text to speech api SynthesizeSpeech.audio_content to frontend throught echo framework (golang).
resp, err := client.SynthesizeSpeech(c.ctx, &req)
if err !=...
0
votes
0
answers
38
views
PDF not recognized as PDF when opened in _self
In my Blazor project, I utilize JavaScript for managing file downloads and displaying PDFs. I transfer a BLOB via interop to JavaScript and subsequently open the browser's PDF viewer. This process ...
0
votes
1
answer
846
views
How to properly send a blob or file as api response in next 13
I am trying to send a blob (will be a file from another API in future) as the response for a api call in next13 api routes. My handler goes like:
export default async function handler(req, res) {
...