Browse Source

cast

master
zeus 4 years ago
parent
commit
638b3a2c7a
  1. 2
      aplayer.html

2
aplayer.html

@ -17,7 +17,7 @@
var url = new URL(url_string); var url = new URL(url_string);
var item = url.searchParams.get("item"); var item = url.searchParams.get("item");
var llo = url.searchParams.get("llo"); var llo = url.searchParams.get("llo");
var src = '/player/'+llo+'/'+item+'.cast' var src = '/player/'+llo+'/'+item
render(document.body, ` render(document.body, `
<asciinema-player title="Linux" author="swarmlab.io" author-url="http://www.swarmlab.io" font-size="small" speed="2" theme="monokai" src=${src}></asciinema-player> <asciinema-player title="Linux" author="swarmlab.io" author-url="http://www.swarmlab.io" font-size="small" speed="2" theme="monokai" src=${src}></asciinema-player>
`); `);

Loading…
Cancel
Save