@browser-replay/video
v0.0.2
Published
Transform browser-replay sessions into video
Maintainers
Readme
@browser-replay/video
@browser-replay/video transforms a recorded browser-replay session (events JSON) into a video.
Install
- Install Node.JS。
- Run
npm i -g @browser-replay/videoto install the CLI.
Usage
Transform a session (JSON) into a video
browser-replay-video --input PATH_TO_YOUR_EVENTS_FILERunning this command will output a browser-replay-video-output.webm file in the current working directory.
Config the output path
browser-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.
browser-replay-video --input PATH_TO_YOUR_EVENTS_FILE --config PATH_TO_YOUR_CONFIG_FILEYou can find an example config file here.
