You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
530 B

<template>
<figure :id="240155"></figure>
</template>
<script>
export default {
data() {
return {
id:240155,
source: `http://localhost:3088/demo.cast`,
ascid: `asciicast-${this.id}`
}
},
mounted() {
const plugin = document.createElement("script");
plugin.setAttribute(
"src",
"./aplayer/asciinema-player.js"
);
plugin.async = true;
document.head.appendChild(plugin);
}
}
</script>