mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
13 lines
358 B
HTML
13 lines
358 B
HTML
<script src="https://cdn.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>
|
|
|