Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用最新的rrweb录制的数据,rrweb-player v0.4.6回放是有鼠标跟随,但是0.7.0没有鼠标跟随 #496

Closed
cjinhuo opened this issue Feb 18, 2021 · 6 comments

Comments

@cjinhuo
Copy link

cjinhuo commented Feb 18, 2021

v0.4.6还有鼠标点击时的动画,但是最新版的没有,是否需要再另配置?

v0.4.6效果如下图所示:

v0.7.0没有鼠标跟随,两个用同一份录制数据,是否需要再另配置

@Yuyz0112
Copy link
Member

Yuyz0112 commented Mar 8, 2021

感谢反馈,已修复,请使用 0.7.1

@cjinhuo
Copy link
Author

cjinhuo commented May 7, 2021

我用

感谢反馈,已修复,请使用 0.7.1

你好,我用最新的v0.9.14 rrweb录制的数据,然后用0.7.1的rrweb-player还是没有鼠标移动的轨迹

@Yuyz0112
Copy link
Member

Yuyz0112 commented May 7, 2021

@cjinhuo 可以提供一下你的 replayer 代码的示例吗?

@cjinhuo
Copy link
Author

cjinhuo commented May 7, 2021

@Yuyz0112

      new rrwebPlayer({
        target: replayDom.current,
        // v0.4.6
        // data: {
        //   events: props.recordEvents,
        // },
        // v0.7.1
        props: {
          events: props.recordEvents,
          showDebug: true,
          // width: 1000,
          // height: 500,
          speedOption: [1, 2],
          // liveMode: true,
          mouseTail: false,
          // showController: false,
          autoPlay: false,
          // insertStyleRules: ['border: none'],
          // unpackFn: ,
        },
      })

@Yuyz0112
Copy link
Member

Yuyz0112 commented May 7, 2021

@cjinhuo 是怎么引入 rrweb-player 的 CSS 的呢?

@cjinhuo
Copy link
Author

cjinhuo commented May 7, 2021

@Yuyz0112 我的锅。。。没注意到文档需要加载css,我现在加了,可以用了,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants