Browse Source

server player

master
zeus 4 years ago
parent
commit
59f64708c9
  1. 8
      aplayer.html

8
aplayer.html

@ -1,10 +1,6 @@
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="/player/asciinema-player.css" /> <link rel="stylesheet" type="text/css" href="/player/asciinema-player.css" />
</head>
<body>
<asciinema-player title="Linux" author="swarmlab.io" author-url="http://www.swarmlab.io" font-size="small" speed="2" theme="monokai" src="/player/hybrid-linux/demo.cast"></asciinema-player>
<script src="/player/asciinema-player.js"></script>
<script> <script>
var url_string = window.location.href var url_string = window.location.href
var url = new URL(url_string); var url = new URL(url_string);
@ -36,5 +32,9 @@
div.setAttributeNode(theme); div.setAttributeNode(theme);
</script> </script>
</head>
<body>
<asciinema-player title="Linux" author="swarmlab.io" author-url="http://www.swarmlab.io" font-size="small" speed="2" theme="monokai" src="/player/hybrid-linux/demo.cast"></asciinema-player>
<script src="/player/asciinema-player.js"></script>
</body> </body>
</html> </html>

Loading…
Cancel
Save