This commit is contained in:
@@ -30,9 +30,9 @@ rrweb refers to 'record and replay the web', which is a tool for recording and r
|
||||
|
||||
rrweb is mainly composed of 3 parts:
|
||||
|
||||
- **[rrweb-snapshot](https://github.com/rrweb-io/rrweb/packages/rrweb-snapshot/)**, including both snapshot and rebuilding features. The snapshot is used to convert the DOM and its state into a serializable data structure with a unique identifier; the rebuilding feature is to rebuild the snapshot into corresponding DOM.
|
||||
- **[rrweb-snapshot](https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-snapshot/)**, including both snapshot and rebuilding features. The snapshot is used to convert the DOM and its state into a serializable data structure with a unique identifier; the rebuilding feature is to rebuild the snapshot into corresponding DOM.
|
||||
- **[rrweb](https://github.com/rrweb-io/rrweb)**, including two functions, record and replay. The record function is used to record all the mutations in the DOM; the replay is to replay the recorded mutations one by one according to the corresponding timestamp.
|
||||
- **[rrweb-player](https://github.com/rrweb-io/rrweb/packages/rrweb-player/)**, is a player UI for rrweb, providing GUI-based functions like pause, fast-forward, drag and drop to play at any time.
|
||||
- **[rrweb-player](https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-player/)**, is a player UI for rrweb, providing GUI-based functions like pause, fast-forward, drag and drop to play at any time.
|
||||
|
||||
## Roadmap
|
||||
|
||||
|
||||
@@ -28,9 +28,9 @@ rrweb 是 'record and replay the web' 的简写,旨在利用现代浏览器所
|
||||
|
||||
rrweb 主要由 3 部分组成:
|
||||
|
||||
- **[rrweb-snapshot](https://github.com/rrweb-io/rrweb/packages/rrweb-snapshot/)**,包含 snapshot 和 rebuild 两个功能。snapshot 用于将 DOM 及其状态转化为可序列化的数据结构并添加唯一标识;rebuild 则是将 snapshot 记录的数据结构重建为对应的 DOM。
|
||||
- **[rrweb-snapshot](https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-snapshot/)**,包含 snapshot 和 rebuild 两个功能。snapshot 用于将 DOM 及其状态转化为可序列化的数据结构并添加唯一标识;rebuild 则是将 snapshot 记录的数据结构重建为对应的 DOM。
|
||||
- **[rrweb](https://github.com/rrweb-io/rrweb)**,包含 record 和 replay 两个功能。record 用于记录 DOM 中的所有变更(mutation);replay 则是将记录的变更按照对应的时间一一重放。
|
||||
- **[rrweb-player](https://github.com/rrweb-io/rrweb/packages/rrweb-player/)**,为 rrweb 提供一套 UI 控件,提供基于 GUI 的暂停、快进、拖拽至任意时间点播放等功能。
|
||||
- **[rrweb-player](https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-player/)**,为 rrweb 提供一套 UI 控件,提供基于 GUI 的暂停、快进、拖拽至任意时间点播放等功能。
|
||||
|
||||
## Roadmap
|
||||
|
||||
|
||||
@@ -69,4 +69,4 @@ rrwebPlayer.addEventListener('ui-update-progress', (event) => {
|
||||
|
||||
## Develop a new replayer UI with rrweb's Replayer.
|
||||
|
||||
Please refer [rrweb-player](https://github.com/rrweb-io/rrweb/packages/rrweb-player/).
|
||||
Please refer [rrweb-player](https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-player/).
|
||||
|
||||
@@ -69,4 +69,4 @@ rrwebPlayer.addEventListener('ui-update-progress', (event) => {
|
||||
|
||||
## 基于 rrweb Replayer 开发自己的回放器 UI
|
||||
|
||||
可以参照 [rrweb-player](https://github.com/rrweb-io/rrweb/packages/rrweb-player/) 的方式进行开发。
|
||||
可以参照 [rrweb-player](https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-player/) 的方式进行开发。
|
||||
|
||||
Reference in New Issue
Block a user