Example of loading documents (pdf, .doc, etc) in embedded iframes
Example of loading documents (pdf, .doc, etc) in embedded iframes
In our current application, we need to allow the user to view documents that are downloaded from a server. The most important of these are pdf and .doc documents. We are currently developing to deploy on iOS but will also need Android and Blackberry in the future. I know native applications can view these document types, but I have been having trouble making it work for web apps.
I have been reading up and it looks like the recommended way to do this is using an iframe embedded in the application. This almost works, but I can't get scrolling or zooming to work within the iframe for any of the link types. I have seen that many people on the forums are having this trouble, but I never found a working solution.
Is this possible? If not, what is the recommended way to handle document viewing in a web app?
If it is supported, can we work together to get a test/demo application up and running?