@dom-replay/video
v0.0.1
Published
Transform dom-replay sessions into video
Downloads
11
Readme
@dom-replay/video
@dom-replay/video transforms a recorded dom-replay session (events JSON) into a video.

Install
- Install Node.JS。
- Run
npm i -g @dom-replay/videoto install the CLI.
Usage
Transform a session (JSON) into a video
dom-replay-video --input PATH_TO_YOUR_EVENTS_FILERunning this command will output a dom-replay-video-output.webm file in the current working directory.
Config the output path
dom-replay-video --input PATH_TO_YOUR_EVENTS_FILE --output OUTPUT_PATHConfig the replay
You can prepare a player config file (see example below) and pass it to the CLI.
dom-replay-video --input PATH_TO_YOUR_EVENTS_FILE --config PATH_TO_YOUR_CONFIG_FILEYou can find an example config file here.
