title: Load external PDF/xod file into PDFTron
body: <p>I have demo project of PDFTron and also have Booking.pdf on same project location on my local.</p>
  
  <p>I write following code for load PDF into PDFTron </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;script src="jquery-1.7.2.min.js"&gt;&lt;/script&gt;
    &lt;script src="lib/WebViewer.js"&gt;&lt;/script&gt;
  
      &lt;style&gt;
          #viewer {
              width: 1024px;
              height: 600px;
          }
      &lt;/style&gt;
   &lt;/head&gt;
  &lt;body class="page-reader"&gt;
    &lt;div id="viewer"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;script&gt;
  
      $(function() {
          var viewerElement = document.getElementById("viewer");
          var myWebViewer = new PDFTron.WebViewer({
              path: "lib",
              type: "html5",
              documentType: "pdf",
              initialDoc: "Booking.pdf"
          }, viewerElement);
      });
  
  &lt;/script&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Now Question is when I'm trying to load pdf/xod file from local directory it's working fine,
  <strong>But suppose I want to get PDF file from other server e.g : <a href="http://serverURL/Booking.pdf" rel="nofollow">http://serverURL/Booking.pdf</a> that time I include server path into initialDoc: "<a href="http://serverURL/Booking.pdf" rel="nofollow">http://serverURL/Booking.pdf</a>" then it's giving error to me.</strong></p>
  
  <p><strong>Error is network error or not found.</strong></p>
  
  <p><strong><em>How can I load external pdf/xod into pdftron?</em></strong></p>
  
  <p>I referred following links to resolve the issue but I am not able to resolved the error.</p>
  
  <p><a href="http://www.pdftron.com/webviewer/demo/documentation.html" rel="nofollow">http://www.pdftron.com/webviewer/demo/documentation.html</a></p>
  
  <p><a href="http://www.pdftron.com/webviewer/demo/doc/WebViewer_Developer_Guide.pdf" rel="nofollow">http://www.pdftron.com/webviewer/demo/doc/WebViewer_Developer_Guide.pdf</a></p>
  
  <p>Please help me to resolve this issue. </p>