You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
361 B
HTML

<script src="https://fastly.jsdelivr.net/npm/@accusoft/pdf-viewer@latest/bundle.js"></script>
<div id="viewer"></div>
<script>
let url = location.search.substring(6);
(async () => {
const pdfViewer = await window.Accusoft.PdfViewerControl.create({
sourceDocument: url,
container: document.getElementById('viewer')
});
})();
</script>