Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Vuzit - An AJAX powered PDF Viewer

DZone's Guide to

Vuzit - An AJAX powered PDF Viewer

· Web Dev Zone ·
Free Resource

Building real-time chat? Enroll in a Free Course on Mobile Chat Development. 

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!

Power realtime chat, IoT and messaging apps at scale. Pubsub realtime messaging, functions, chat, presence, push, notifications, blocks catalog and more.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}