mupdf-webviewer
Version:
The web viewer SDK using mupdf.js
22 lines (21 loc) • 1.85 kB
HTML
<html data-beasties-container>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<base href="/streamdocs/">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1">
<style>@media print{*{display:none;margin:0;padding:0;z-index:19999;visibility:hidden;opacity:0}html,body,sd-root{display:block;height:100%;visibility:visible;opacity:1}html,body{background:transparent;overflow:visible}}*:lang(en){letter-spacing:0}*:lang(kr){letter-spacing:-.5px}html,body{width:100%;height:100%;background:var(--background);color:var(--mono-99);font-size:0;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:0;margin:0}body::backdrop{background:inherit}@media not print{html,body{overflow:hidden}}</style><link rel="stylesheet" href="styles-ZG5S4AYR.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-ZG5S4AYR.css"></noscript></head>
<body id="body" lang="en">
<sd-root></sd-root>
<link rel="modulepreload" href="chunk-QKANFMHB.js"><link rel="modulepreload" href="chunk-M6WRZEXG.js"><link rel="modulepreload" href="chunk-GYSDD6ED.js"><link rel="modulepreload" href="chunk-KY75LVLX.js"><link rel="modulepreload" href="chunk-3XEYKGPG.js"><link rel="modulepreload" href="chunk-LNE3N6E3.js"><link rel="modulepreload" href="chunk-FQTIMCVV.js"><script src="polyfills-SCHOHYNV.js" type="module"></script><script src="scripts-VAS27I26.js" defer></script><script src="main-T4RFFORC.js" type="module"></script></body>
<script>
const preload = document.querySelector('link');
preload.onerror = () => {
window.parent.postMessage({
type: 'error',
message: 'The library path is not valid. Please check the "libraryPath" parameter.',
}, '*');
}
</script>
</html>