Blob URLs is actually 2 combined concepts: BLOBs and Object-URLs in html5 and javascript
Questions tagged [bloburls]
54 questions
627
votes
6 answers
What is a blob URL and why it is used?
I am having trouble with blob URLs.
I was searching for src of a video tag on YouTube and I found that the video src was like:
src="blob:https://video_url"
I opened the blob URL that was in src of the video, but it gave an error. I can't open the…

Waqas Tahir
- 7,171
- 5
- 25
- 47
49
votes
9 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
- 4,245
- 1
- 36
- 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
- 22,721
- 17
- 71
- 112
21
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
- 15
- 104
- 177
14
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,931
- 3
- 24
- 60
13
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
- 677
- 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
- 5,031
- 12
- 57
- 101
11
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...
11
votes
2 answers
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
- 9,261
- 2
- 19
- 30
6
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
- 157
- 8
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
- 5,653
- 2
- 44
- 65
3
votes
0 answers
Invalid absolute docBaseUrl "blob"
I have a new problem with an old script. The problem is already exist with an old (1.5.3) and the newest (2.5.1) jsPDF version.
Until recently, the Save or View dialog was displayed when creating a PDF in the browser. Now it works only if the…

Andramox
- 43
- 7
3
votes
1 answer
How to handle blob url in WKWebView and download file?
I need to implement file downloading in WKWebView.
My example implementation:
@available(iOS 14.5, *)
func webView(_ webView: WKWebView, navigationResponse: WKNavigationResponse, didBecome download: WKDownload) {
download.delegate =…

runia
- 370
- 6
- 19
3
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
- 9,709
- 39
- 140
- 253
3
votes
1 answer
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,901
- 7
- 24
- 34