- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Fri, 22 Apr 2016 20:29:37 +0300
- To: Steve Comstock <steve@trainersfriend.com>, Ian Hickson <ian@hixie.ch>, "annevk@opera.com" <annevk@opera.com>, Simon Pieters <simonp@opera.com>, Mark Davis ⚖ <markdavis@google.com>, "Phillips, Addison" <addison@lab126.com>
- Cc: "public-html-comments@w3.org" <public-html-comments@w3.org>
22.04.2016, 16:18, "Steve Comstock" <steve@trainersfriend.com>: > So .pdf and .html are the only examples I've come up with > to use EMBED and OBJECT at all, and neither of those need > PARAM for the OBJECT element. > is there any real world example, in today's > world without Flash, Quicktime, and Java applets, for > using OBJECT with PARAM? Embedding PDF directly is unreliable given that: * not all browsers have a built-in PDF tool to view PDF documents (like PDF.js in Firefox); * not all PDF files can be shown correctly using PDF.js. It's generally better to show HTML document while providing (if really needed) a link to download a PDF version of the HTML document. To embed HTML document in another one, just use the `iFRAME` element (or avoid using separate documents at all, and display the required content directly as a part of the whole single page). As long as you don't need Flash, forget about `OBJECT`, `EMBED`, and `PARAM`.
Received on Friday, 22 April 2016 17:30:13 UTC