Results 1 to 2 of 2

Thread: Display PDF in iframe from base64 string using blob url

  1. #1
    Join Date
    Mar 2017

    Display PDF in iframe from base64 string using blob url

    I am stuck with this and need help.

    I am trying to display a PDF in IFRAME using base64 string as input with URL.createObjectURL.

    I got some idea from this link: Creating a Blob from a base64 string in JavaScript

    But still I am only able to process images with the code and not PDF, donot know what is wrong.

    Code: as I have base64 in the js itselt and cannot post big size content here so uploading the code to this location

    Download the full file

  2. #2
    Join Date
    Mar 2007
    When posting items too large to display, either break them across posts or upload to this site as a text file.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center