I am trying to argue with colleagues that things like <iframe width="200" height="300" src="some-file.pdf" />
(or essentially anything that is not of MIME type text/html
) are not a good idea.
My own objection is that many browser allow the user to configure that pdf should by displayed by an external application instead of by plugin (or internal browser capabilities). For those users, the iframe would leave an ugly 200x300 blank rectangle while at the same time initiating the start of an external application - and who am I to dictate specific settings to the user?
In your experience, are my assumptions correct?