How can we make DocumentCloud better?

Responsive embed

The current embed code options include full page or fixed pixel width.
With the rise in popularity of mobile devices and the move toward device-agnostic responsive web designs, a percentage-based width embed that can scale with it's container would be welcome.
Right now the fixed-pixel width of the embed container offers a less-than-ideal user experience when viewed on a mobile device smaller than the specified embed width.
From the looks of the code the embed generates, adding this option would only require reconfiguring certain fixed-width divs to use percentage-based widths instead.
Thanks for considering.

29 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Todd Vachon shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
completed  ·  AdminJustin Reese (Admin, DocumentCloud) responded  · 

Hi all. We’re still working on our full responsive strategy, but in the meantime Jeremy Ashkenas adapted our embedded viewer to adapt its width responsively. Just add `responsive: true` to the options hash in the embed code.

We haven’t yet made this a global default or added it to the embed wizard; for now you have to add it manually, although our WordPress plugin (https://wordpress.org/plugins/documentcloud/) does default its embeds to responsive.

There’s much more we’d like to do before calling our embedded viewer truly responsive, but this will at least let your embeds work on mobile devices without breaking layout.

5 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Pierre France commented  ·   ·  Flag as inappropriate

    Hello. Just a reminder, we need a better responsive module. On mobile, the documents displays correctly but no one can actually read them. The zoom bar is very difficult to handle on mobile (too small).

  • Adminanthony (Admin, DocumentCloud) commented  ·   ·  Flag as inappropriate

    Hi, Veronica,

    It's high on our priority list for 2015. Recent funding from the Knight Foundation is allowing us to expand our team and resources, and we're aware that mobile is a key need. Stay tuned.

  • Veronica commented  ·   ·  Flag as inappropriate

    Hi there - I'm also seeking an update on responsive embedding, we love using documentcloud but have a mobile responsive site so it's difficult to implement at the moment. Any more recent developments on creating a responsive embed option?

  • Anonymous commented  ·   ·  Flag as inappropriate

    Any update on this? We have a responsive website and would love to be able to once again use documentcloud.org for pdf embeds

  • AdminTed Han (Admin, DocumentCloud) commented  ·   ·  Flag as inappropriate

    Hey Todd, we're currently working on a better mobile experience. We've got a lot of interest from a number of different quarters on this front, so we know how important it is to everyone.

Feedback and Knowledge Base