Skip to content Skip to sidebar Skip to footer

Show Blob In Iframe Fails In Ie

So, the gist is, I'm downloading uploaded files to the db to show them, at least most of them, inside a iframe This is the code: var ancho = $(window).width() * 0.90; var alto = $(

Solution 1:

Depends what type of content you're working with, but since it's going in an IFRAME it's a fair bet that IE just doesn't support data URIs for that content type. ref: caniuse

According to the above reference, IE supports images, CSS and script files, but not HTML. I can verify from personal experience that HTML data URLs, e.g.

data:text/html, <h1>Hi</h1><p>I'm a data URL

don't work in IE10.

Post a Comment for "Show Blob In Iframe Fails In Ie"