1.0.3 • Published 1 year ago
react-asciinema-player v1.0.3
react-asciinema-player
A React component for playing asciinema recordings.
Installation
npm install react-asciinema-player
Usage
import React from "react";
import AsciinemaPlayer from "react-asciinema-player";
const App = () => (
<AsciinemaPlayer
src="https://asciinema.org/a/1.cast"
options={{
idleTimeLimit: 3,
preload: true,
autoPlay: true,
loop: 0,
speed: 0.8,
}}
/>
);
export default App;