object and embed tags in IE (4 posts)

  1. jryanzambon
    Posted 6 years ago #

    I'm trying to embed PDF files in WordPress pages via html using the object or embed tags. However, this doesn't seem to be working right in IE8 and some other browsers.

    Using the object/embed tags work perfectly in Chrome and Firefox (PC) but will not load in IE8 (PC) or Chrome (MAC).

    However, putting the code in a blank HTML page and loading it works fine. Problem seems specific to WordPress - tried on different installs of different versions of WP and reproduced same problem.

    Can't use Google Docs to embed due to cookies issue (posted about all over the place).


  2. esmi
    Forum Moderator
    Posted 6 years ago #

    You can't embed a pdf file. You can only provide a link to it.

  3. jryanzambon
    Posted 6 years ago #

    That doesn't make much sense to me. Why would WordPress block embedded PDF files?

  4. dheerajsl
    Posted 5 years ago #

    I do it using <embed src="http://www.pdfsource.pdf" width="500" height="600">


Topic Closed

This topic has been closed to new replies.

About this Topic