<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Anime Player | lsd.cat</title>
    <link rel="icon" sizes="16x16" type="image/png" href="/icon.png" />
    
    <style type="text/css">body{margin:40px auto;max-width: 900px;padding:0 10px;background-color: #171a1c}video{width:100% !important; height:auto !important}</style>

</head>
<body>
    <script src="hls.js"></script>
    <video controls id="video"></video>
    <script>
      if(Hls.isSupported()) {
        var video = document.getElementById('video');
        var hls = new Hls();
        hls.loadSource(window.location.hash.substring(1));
        hls.attachMedia(video);
        hls.on(Hls.Events.MANIFEST_PARSED,function() {
          video.play();
      });
     }
     </script>
</body>
</html>