Embedding the Player in WordPress?

As an asciinema user and blogger, I’ve tried embedding the player in a post on my WordPress blog using various block types, but keep running into difficulties. Has anyone actually made it work?

So far, I’ve only been able to embed an image link [1] in a markdown block in my blog post [2]

[1] [![asciicast](https://asciinema.org/a/r7Bj2f4lhYy7e5xeTjcs5jZg6.svg)](https://asciinema.org/a/r7Bj2f4lhYy7e5xeTjcs5jZg6)

[2] https://rolfe.blog/2021/12/10/embedding-asciinema-on-wordpress-wip/

Is it possible to use JS snippet in your WP installation? If so then you could use the standalone player. See https://github.com/asciinema/asciinema-player#use-the-standalone-player-bundle-in-your-html-page

1 Like