I want to dispaly PDF in IE10 or IE11 using blob url.
These I used to construct Blob URLs
var url = URL.createObjectURL(blob)
Blob url created using createObjectURL()
is not able to generate proper blob url in IE and firefox. But works in Chrome.
But Adobe has removed PDF plugin support for chrome.
Is there any other way to display the blob url in other than createObjectURL
method?
Look at this link. They even have a viewer that can render blobs.
Note: for IE to work wrap the blob url in
encodeURIComponent()
before passing it to the viewer such as this: