title: Render pdf from other domain in HTML
body: <p>I'm trying to render a PDF in my web page from another domain.</p>
  
  <p>The html is:</p>
  
  <pre><code>&lt;div id="pdfContainer"&gt;
      &lt;embed id="pdf" type="application/pdf" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And the javascript:</p>
  
  <pre><code>$.get("http://otherDomain/Files/Pdf/some.pdf", function(data) {
      $("#pdf").prop("src", data);
  });
  </code></pre>
  
  <p>But of course I have a cross domain error. Is there a way to do it? With PHP maybe?</p>
  
  <p>Thanks.</p>