Some test text!

menu
Setup viewerkeyboard_arrow_down

Setting up WebViewer for real-time document collaboration

  1. Download the WebViewer SDK and unzip the package.

  1. Copy lib/ folder to a location on your web server.
  2. Create an HTML page.
  3. Add the WebViewer script to the <head> of the HTML page.

    <script src="lib/webviewer.min.js"></script>
  4. Add necessary scripts server methods. In this guide, we are going to include Firebase library and a separate file named server.js

    <script src="https://www.gstatic.com/firebasejs/3.5.3/firebase.js"></script>
    <script src="server.js"></script>
  5. Add a script to initiate and use WebViewer.

    <script src="main.js"></script>
  6. Create a <div> tag in the HTML <body> and give it an id. This will be the container for the WebViewer

    <div id="viewer"></div>

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our upcoming webinar to learn about how to collaborate on videos frame by frame directly in your browser

Save your seat
close