Questions tagged [bloburls]

Blob URLs is actually 2 combined concepts: BLOBs and Object-URLs in html5 and javascript

43 questions
456
votes
4 answers

What is a blob URL and why it is used?

I am having a lot of problems with blob URL. I was searching for src of a video tag on YouTube and I found that the video src was like: src="blob:https://crap.crap" I opened the blob URL that was in src of the video it gave an error. I can't open…
Waqas Tahir
  • 4,288
  • 4
  • 15
  • 28
31
votes
7 answers

How to save .xlsx data to file as a blob

I have a similar question to this question(Javascript: Exporting large text/csv file crashes Google Chrome): I am trying to save the data created by excelbuilder.js's EB.createFile() function. If I put the file data as the href attribute value of a…
gm2008
  • 3,665
  • 1
  • 34
  • 38
31
votes
2 answers

How can I make a really long string using IndexedDB without crashing the browser?

I'm writing a web app that generates a potentially large text file that the user will download, and all the processing is done in the browser. So far I'm able to read a file over 1 GB in small chunks, process each chunk, generate a large output file…
Matt
  • 19,570
  • 12
  • 62
  • 104
22
votes
1 answer

How to use Blob URL, MediaSource or other methods to play concatenated Blobs of media fragments?

Am attempting to implement, for lack of a different description, an offline media context. The concept is to create 1 second Blobs of recorded media, with the ability to Play the 1 second Blobs independently at an HTMLMediaElement Play the full…
guest271314
  • 1
  • 10
  • 82
  • 156
12
votes
1 answer

Windows Edge and opening a blob url

I'm getting some odd results when trying to open a new window with a blob url in Windows Edge (20.10240.16384, which is the version in the IE11 VM supplied by Microsoft). var xhr = new XMLHttpRequest(); xhr.open('POST', sourceUrl,…
Technicolour
  • 647
  • 1
  • 7
  • 17
12
votes
2 answers

Blob url in internet explorer with angularjs

Given this code (from someone else): var module = angular.module('myApp', []); module.controller('MyCtrl', function ($scope){ $scope.json = JSON.stringify({a:1, b:2}); }); module.directive('myDownload', function ($compile) { return { …
Nicros
  • 4,611
  • 12
  • 52
  • 98
11
votes
1 answer

WebView + Blob URL + Download Image

After a Long Time, I was Used WebView. so let me ask what I have a phase issue. -I had Google for Blob URL but I hvnt find a solution OR Any hint so I have to post Question HERE. -I have WebView at the android side to Load A website. At their On…
Vishal Patel
  • 2,865
  • 2
  • 21
  • 54
6
votes
1 answer

How can I revoke an object URL only after it's downloaded?

I'm saving a file in JavaScript using the following code: var a = document.createElement('a'); a.href = URL.createObjectURL(new Blob(['SOME DATA'])); a.download = 'some.dat'; a.click(); I want to revoke the URL (using URL.revokeObjectURL) once the…
Steve Trout
  • 8,881
  • 2
  • 15
  • 28
5
votes
0 answers

Video with a BlobURL src doesn't play on iOS 10.3

Preload video as Blob, and then use createObjectURL() to create a BlobURL. The video plays on all OSs/browsers, but on iOS 10.3 got rejected when trying to play (promise) with the message: NotSupportedError (DOM Exception 9): The operation is not…
Neo
  • 138
  • 7
4
votes
0 answers

How to download large files in javascript with OAuth without storing the whole file in browser?

I have a closed-source SaaS webapp that requires OAuth for my users to access some data. Much of the data available is binary, and would be much easier dealt with if users could download files, rather than doing everything in the browser. I can…
Jayen
  • 4,499
  • 2
  • 34
  • 59
3
votes
1 answer

Understanding blob url video streaming

Many video stream websites, youtube for example, seem to have a blob url as their video source. Searching, I couldn't figure out how this works. For example...
Dennis Ranish
  • 361
  • 3
  • 13
3
votes
0 answers

How to send PDF (jsPdf) to the back end (PHP - Zend 1)

I'm using jsPDF to create a pdf on client side and it's working fine by using pdf.save('document.pdf');. Now I'm trying to send an email along with PDF as an attachment by using AJAX and Zend_Mail function on the back end, but it doesn't work! Well,…
Adeel
  • 2,657
  • 7
  • 21
  • 31
3
votes
3 answers

XMLHttpRequest Status of 404 With Blob URL

I'm trying to upload a blob URL generated by getUserMedia to the server. Someone else wanted to do the same thing, and that question has been answered. I am using the same code for the XHR request as the person who answered that question, but I'm…
RickyAYoder
  • 913
  • 1
  • 12
  • 28
2
votes
0 answers

How to save Captured Video to a folder in asp.net?

I have created a sample application in asp.net it captures the Video from webcam and plays it in browser. I want to save the video in asp.net on save button click. Is there any way we can get the blob url object on save button click and save the…
SHEKHAR SHETE
  • 5,592
  • 14
  • 76
  • 139
2
votes
1 answer

How can i read data from blob url?

I have to read the data as an array of characters or even better as an base64 string from a blob url, for later processing. The blobUrl that i have to read for example is blob:https://localhost:44399/a4775972-6cc8-41a3-af64-1180d9941ab0 Actually…
OrElse
  • 8,657
  • 36
  • 127
  • 234
1
2 3