Asciinema文章勘误及Web端使用介绍
欠下的债迟早是要还的,查文档,重验证,出结果,不误导
文章勘误
最后使用以下参数设置asciinema-player,看看播放的效果
<asciinema-player id="play" title="WebSSH Record" author="ops-coffee.cn" author-url="https://ops-coffee.cn" author-img-url="/static/img/logo.png" src="/static/record/ops-coffee.cast" speed="3" idle-time-limit="2" poster="data:text/plain,\x1b[1;32m2019-11-18 16:26:18\x1b[1;0m用户\x1b[1;32madmin\x1b[1;0m连接主机\x1b[1;32m192.168.106.101:22\x1b[1;0m的录像记录"> </asciinema-player>
播放效果如下
同时asciinema-player播放时还支持以下快捷键的使用
space
空格,播放或暂停f
全屏播放,可以看到title等设置←
/→
快进或快退,每次5秒0,1,6 ... 9
跳转到录像的0%,10%,60% ... 90%<
/>
增加或降低播放速度,play的-s
参数
相关文章推荐阅读: