resolve #13 add warning messages when target is not found

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent ac6c1fc360
commit 21465e785f
4 changed files with 47 additions and 21 deletions

View File

@@ -134,12 +134,13 @@ replayer.play();
The replayer accepts options as its constructor's second parameter, and it has the following options:
| key | default | description |
| ------------ | ------------- | ------------------------------------- |
| speed | 1 | replay speed ratio |
| root | document.body | the root element of replayer |
| loadTimeout | 0 | timeout of loading remote style sheet |
| skipInactive | false | whether to skip inactive time |
| key | default | description |
| ------------ | ------------- | ----------------------------------------------- |
| speed | 1 | replay speed ratio |
| root | document.body | the root element of replayer |
| loadTimeout | 0 | timeout of loading remote style sheet |
| skipInactive | false | whether to skip inactive time |
| showWarning | true | whether to print warning messages during replay |
#### Use rrweb-player