<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title><?= $materi['materi']; ?></title>
   <style>
      * {
         margin: 0;
         padding: 0;
      }
   </style>
</head>
<body>
   <iframe id="pdf-js-viewer" src="<?= base_url() ?>/assets/vendor/pdfjs/web/viewer.html?file=<?= base_url('file/materi/' . $materi['upload_materi']); ?>" title="webviewer" width="100%" frameborder="0" scrolling="yes" style="display:block; width:100%; height:100vh;">
</body>
</html>