Posted: 8/17/2011
Is there any embed code that i can use in HTML or tutorial that i can refer so i can embed a player in order to view PDFfiles within my page.....i dont know which website it was but i saw some one have a PDF file opening in a totally seprate manner it was not like the usual way you know like using internet explorer....
Hi,
First, you will never know how the browser will act, if the browser does not have an PDF plugin it will never open the pdf file within the broser. Another thing is that if the browser is setup to safe PDF file, rather then use the plugin then it won't display either. Beaside all of this, there are so many browsers on the market that can be configured independently and each of them can have different dialog boxes.
Second, if your wep application is asp.net you should set the header you send.
Response.ContentType = "application/pdf";
There is a workaround all of this, but i don't recomend them if there are some sensitive informations in the PDF.
You can find them here: http://www.labnol.org/internet/tools/read-adobe-pdf-files-online-without-acrobat/1923/
Best Regards,
Gjorgji