I want to be able to customise the UI when embedding a PDF

Submitted by Anonymous

This idea is currently being discussed.

When you embed a PDF in a web page today — whether via an <iframe>, <embed>, or <object> element — the browser renders it using its own native PDF viewer. The problem is that this viewer looks and works differently across browsers, and it is not customisable. If I need consistent, branded, or simplified UI around the PDF, I have no choice but to ship a full third-party PDF renderer like PDF.js with my application, adding significant weight to my codebase.

I want a standardised way to control the PDF viewing experience when browsers already have PDF rendering capabilities. For example, I should be able to:

This would allow developers to deliver a polished, accessible, and consistent PDF experience without duplicating what the browser already knows how to do.

Tagged
Api Ux Web apps
Votes
0
What are votes for and how are they tallied?