Class AsciinemaPlayer
Representation class for the Asciinema specification
Inheritance
object
AsciinemaPlayer
Namespace
Syntax
public static class AsciinemaPlayer
Methods
PlayAsciinema(Asciicast, bool)
Plays the Asciinema recording in full-screen mode
Declaration
public static void PlayAsciinema(Asciicast asciicast, bool resizeWindow = true)
Parameters
| Name | Type | Description |
|---|---|---|
| asciicast | Asciicast | Asciicast instance containing recorded data |
| resizeWindow | bool | Whether to resize the window when playing |
PlayAsciinema(AsciinemaRepresentation, bool)
Plays the Asciinema recording in full-screen mode
Declaration
public static void PlayAsciinema(AsciinemaRepresentation representation, bool resizeWindow = true)
Parameters
| Name | Type | Description |
|---|---|---|
| representation | AsciinemaRepresentation | Asciinema representation containing a valid instance of Asciicast |
| resizeWindow | bool | Whether to resize the window when playing |