|
@ -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> |
|
|
`); |
|
|
`); |
|
|