|
|
@ -40,13 +40,11 @@
|
|
|
|
<pre><code><html>
|
|
|
|
<pre><code><html>
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/asciinema-player.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="/asciinema-player.css" />
|
|
|
|
<script src="/asciinema-player.js"></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<div id="player-container"></div>
|
|
|
|
<asciinema-player src="/<%= page.asciicast_download_filename %>" cols="<%= page.asciicast_width %>" rows="<%= page.asciicast_height %>"></asciinema-player>
|
|
|
|
<script>
|
|
|
|
...
|
|
|
|
asciinema.player.js.CreatePlayer('player-container', '/<%= page.asciicast_download_filename %>', { width: <%= page.asciicast_width %>, height: <%= page.asciicast_height %> });
|
|
|
|
<script src="/asciinema-player.js"></script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html></code></pre>
|
|
|
|
</html></code></pre>
|
|
|
|
|
|
|
|
|
|
|
|