Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    yz-yu
    @Yuyz0112
    @yy64566496 是的,同源的 iframe 有实现中的 PR,跨域的 iframe 非常复杂可能不会支持
    yy64566496
    @yy64566496
    @Yuyz0112 现在在官网上的demo,在同源的iframe进行的操作,播放时会重现吗??
    @Yuyz0112 还有一个问题,页面中textarea标签若是开始有默认的文本,不去改动默认的文本,播放时这些文本会翻倍,比如:默认文本是hello,播放时会出现两个hello
    yz-yu
    @Yuyz0112
    @yy64566496 1. 不会,嵌套录制还没有合入;2. 可能是 bug,可以提 issue 跟踪一下
    kamta
    @kamta
    hi
    How to use rrweb with django/jquery?
    yz-yu
    @Yuyz0112
    @kamta rrweb can integrate with any app via vanilla JS. Are you facing any problem with the guide doc?
    kamta
    @kamta
    yes
    Linh Do
    @Oliver7792_gitlab
    Hi Everyone
    I got that error when init player TypeError: can't assign to property "delay" on "s": not an object
    yz-yu
    @Yuyz0112
    Could you provide the events log you are trying to repaly?
    Linh Do
    @Oliver7792_gitlab
    $('.total-sales-amount-container').on("click", function(){
               new rrwebPlayer({
                  target: document.body, // customizable root element
                  data: {
                    events: "start",
                    autoPlay: true,
                  },
                });
            })
    Aha thanks
    I got it
    I forgot to push events array to replayer
    Nice library
    Tony Schumacher
    @TonySchu
    Anybody had this kind of errors where the rebuild of a snapshot took very long?
    [Violation] 'requestAnimationFrame' handler took 3531ms
    This was in Chrome. In FF it is even slower sometimes. But this might also change randomly.
    yz-yu
    @Yuyz0112
    @TonySchu Previously there is a perf issue caused by our CSS regexp. It has been fixed in the latest version, could you provide the version you are using?
    Tony Schumacher
    @TonySchu
    Hey, I use the latest version of the player und recorder.
    yz-yu
    @Yuyz0112
    Okay, maybe you can provide your events log or a reproducible URL for me to debug?
    Tony Schumacher
    @TonySchu
    I just noticed, that there is no problem when I replay the events on a clean and empty test page. So the problem might be somwhere else because I use your player inside of an Angular App.
    Ilya Ovdin
    @iovdin
    Hi,
    I'm trying to launch repl
    npm run repl
    which fails with
    TSError: ⨯ Unable to compile TypeScript:
    error TS2688: Cannot find type definition file for 'redux-saga'.
    
        at createTSError (/Users/iovdin/projects/tmp/rrweb/rrweb-0.7.24/node_modules/ts-node/src/index.ts:261:12)
        at getOutput (/Users/iovdin/projects/tmp/rrweb/rrweb-0.7.24/node_modules/ts-node/src/index.ts:367:40)
        at Object.compile (/Users/iovdin/projects/tmp/rrweb/rrweb-0.7.24/node_modules/ts-node/src/index.ts:531:13)
        at Module.m._compile (/Users/iovdin/projects/tmp/rrweb/rrweb-0.7.24/node_modules/ts-node/src/index.ts:439:43)
        at Module._extensions..js (internal/modules/cjs/loader.js:712:10)
        at Object.require.extensions.(anonymous function) [as .ts] (/Users/iovdin/projects/tmp/rrweb/rrweb-0.7.24/node_modules/ts-node/src/index.ts:442:12)
        at Module.load (internal/modules/cjs/loader.js:600:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
        at Function.Module._load (internal/modules/cjs/loader.js:531:3)
        at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
    Also is there any way to guess when recording session has ended. So I can flush all events sent to the server to a file?
    drbenway6667
    @drbenway6667
    Capture.PNG
    Hey folks, I'm having some issues with rrweb-player I'm exporting the recorded session to a json file and loading that via getjson, the player isn't playing anything I feed it. I'm trying to figure out what a good 'events' array looks like and how I build this. Looking forward to implementing the awesome tool.
    html/js : https://pastebin.com/4GfkUMcM
    JSON: https://pastebin.com/yEHetC5s
    any help would be uber appreciated as I'm banging my head against a wall trying to get this working
    it seems to be figuring out the timestamps alright as it's calculated the session length
    yz-yu
    @Yuyz0112

    @iovdin I could not reproduce the problem in my env, and redus-saga is not a dependecy of rrweb. Would like to help debug it if there is more info:)

    BTW, what do you mean 'session has ended'?

    drbenway6667
    @drbenway6667
    hey
    oh sorry thought you were talking about me
    yo, yz-yu would you have any idea with a glance what I'm doing wrong? any ideas how I rebuild a correct events array?
    yz-yu
    @Yuyz0112
    @drbenway6667 Will help debug your session when I was home:)
    drbenway6667
    @drbenway6667
    Thanks mate
    really do appreciate it
    uber brownie points if you can help get it sussed
    :)
    Ilya Ovdin
    @iovdin
    @Yuyz0112 Ended when user closes browser window
    yz-yu
    @Yuyz0112
    @iovdin you can take a look at the browser's beforeunload event.
    https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload
    yz-yu
    @Yuyz0112
    This message was deleted
    @drbenway6667 Looks like the page you are trying to record do not has a standard DOCTYPE like this
    image.png
    <!DOCTYPE html>
    Ilya Ovdin
    @iovdin
    @Yuyz0112 thanks
    drbenway6667
    @drbenway6667
    Thanks @Yuyz0112 I'll give that a try and try re-recording a session. Much appreciated
    @Yuyz0112 hey bro that worked, thank you very much for your help their
    I should have looked at my recording page before posting. Thanks for building this awesome tool, really appreciate the support too-
    cheers
    henry
    drbenway6667
    @drbenway6667

    Hiya, I've started playing around with socketio and am trying to figure out how to get livemode working, I've set the liveMode flag to true and am doing this to initialize the replayer:

    let replayer = new rrwebPlayer

    and then using

    replayer.addEvent(event);

    with the event being the recorded event in realtime sent over socketio
    this doesn't seem to be working
    does anyone have any code examples of livemode working?

    drbenway6667
    @drbenway6667
    I've got it working :p

    let rwebplayer = new rrwebPlayer

    with a 2 line events array

    rwebplayer.addEvent(event);

    was simpler than I was imaging

    does anyone know how you'd go about being able to jump to an event in the past? currently it doesnt update the timestamp and only shows the current event