Over a million developers have joined DZone.

Vuzit - An AJAX powered PDF Viewer

DZone's Guide to

Vuzit - An AJAX powered PDF Viewer

· Web Dev Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

Vuzit is a new service offered by Hovitate, LLC that allows you to embed pdf's into your site in a slick AJAX powered viewer. It employs lazy-loading so that viewing large documents is blazingly fast and exposes a JavaScript API allowing you to interact with the document in JavaScript easily.

[img_assist|nid=581|title=Vuzit - Demo|desc=|link=url|url=http://vuzit.com/developer/example_viewer_controls#|align=none|width=699|height=266]

After including the relevant scripts and creating a blank div for the viewer to reside in, it is simple to embed a viewer with the configuration options you would like.

var viewer = new vuzit.Viewer(document.getElementById("vuzit_viewer"));
viewer.setUrl("http://www.welcomingcenter.org/documents/PMP.pdf", { zoom: 1, page: 2 });


Since Vuzit uses pure JavaScript, CSS, and HTML it does not require any browser plugin. Browser plugins have been notorious for causing browser instability problems and causing cross-browser inconsistencies. Get a developer key from their signup page and check out their Starter Tutorial today!

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}