I'm writing an internal application to serve up files to consuming applications, and I'm trying to figure out which file types can be displayed in browser.
As an Example:
A .docx file cannot be displayed in browser (by default at least). If an attempt is made to display it, it would begin downloading it instead.
On the other hand, a .pdf file can be displayed in browser. You can preview the contents and display it in an object tag or an iframe tag.
So I'm wondering if there's a list of mimetypes that can be displayed in browser, or if I'll have to experiment and continuously make changes as I figure out new ones that can or cannot be displayed.
For a little more information, primarily I'll be using Chrome for this as that's my companies primary web browser. I've looked around for awhile without anything, so I thought I'd ask here.
I have looked at threads such as this one While file types can be viewed in browser, but it doesn't really answer my question.
Thanks, any help is appreciated!