I am trying to show a PDF document inline using the object tag - it works as expected in Chrome and Firefox but isn\'t working in Edge.
Sample Code:
I replaced the value of the type attribute with text/html.
This method works for Edge and IE11.
The response of the
Edge and IE11 maybe check the response content and block it because it is not a pdf...
The pdf is in the
Set type to text/html in this situation works for me on this browsers :
I don't try on Safari.
I hope this answer has helped you and that my English did not bother you too much