Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Yousef Alaqra
    @yousefalaqra
    @vincenzocasu i'll work on that very soon, i'll share the code with you once i finish.
    vincenzocasu
    @vincenzocasu
    @yousefalaqra thanks!
    Som Shekhar
    @shekharsom_twitter

    @shekharsom_twitter I think this is the key challenge, but i think there's a way to do it

    That's where I got stuck.

    Som Shekhar
    @shekharsom_twitter
    @yousefalaqra any updates?
    John Eletto
    @johnanthonyeletto
    Hey, does anyone have a working example of recording the console. I'm using recordLog: true, but when I pass the events to rrwebPlayer (rrweb-player), I don't get any console results.
    rrwebStopRecording = rrwebRecord({
          emit(event) {
            chrome.runtime.sendMessage({ event, type: 'event' }, () => {
            });
          },
          recordLog: true,
          packFn: rrwebPack,
          sampling: {
            // do not record mouse movement
            mousemove: 250,
            // do not record mouse interaction
            mouseInteraction: 250,
            // set the interval of scrolling event
            scroll: 250, // do not emit twice in 150ms
          },
        });
     this.player = new rrwebPlayer({
            target: this.$refs.playerTarget,
            props: {
              events: events,
            },
            unpackFn: rrwebUnpack,
          });
    John Eletto
    @johnanthonyeletto
    I figured it out if anyone else is having the same issue with chrome extensions. It's because the content script in chrome extension does not have access to window. I solved this problem by injecting a script into the dom which then communicates with the content script.
    Som Shekhar
    @shekharsom_twitter

    Ref There is a way to add events to the player.

    const replayer = new rrweb.Replayer(events)
    
    for (const newEvent of newEvents) {
      replayer.addEvent(newEvent)
    }

    for future ref.

    Nir
    @nirbd
    Hi,
    Do you consider rrweb production ready for integrating into arbitrary websites or you would trust it only after testing its performance and accuracy on each specific site it is used on?
    Are there known issues which I should know about before considering rrweb?
    rishab0
    @rishab0
    Hello, I want to integrate rrweb.
    i am unable to do
    can anyone help me out ?
    vincenzocasu
    @vincenzocasu

    Ref There is a way to add events to the player.

    const replayer = new rrweb.Replayer(events)
    
    for (const newEvent of newEvents) {
      replayer.addEvent(newEvent)
    }

    for future ref.

    How can I implemet this on a rrwebPlayer instance?

    vincenzocasu
    @vincenzocasu
    const data = [{ events: <?php echo $json; ?> }];
    
    function player(data){
    
      const events = data.reduce((prev, cur) => prev.concat(cur.events), []);
    
      new rrwebPlayer({
        target: document.body, // customizable root element
        props: {
          events
        },
      });
    
    }
    
    player(data);
    At this moment the events are loaded on page init... i want to split the events load into multiple step by ajax request to avoid long page load time... But i really don't know how can i add event to rrwebPlayer instance... someone can share ideas?
    Pari-19
    @Pari-19
    Hi everyone,
    Anyone can help me,
    How to download a recording from collected events or from a player.
    I'm using the latest rrweb library, however I can't find any approach/code to execute that.
    Som Shekhar
    @shekharsom_twitter
    @vincenzocasu get your data in multiple chunks (e.g. array of 10 events each) . In the first chunk, create the player and keep the reference to it. Then when you receive the next chunk (which would be an array) use the method used above.
    vincenzocasu
    @vincenzocasu
    @shekharsom_twitter Hi, that's just what I did... but the player meta was not updated... check this -> https://github.com/rrweb-io/rrweb-player/issues/62#issuecomment-800390694
    Som Shekhar
    @shekharsom_twitter
    @vincenzocasu that looks like a bug... Good that you have created a issue on github.
    lssol
    @lssol
    Hi,
    I saw that putting the record replay in a web worker is in the roadmap. I'd like to implement it, has anyone started doing things about it?
    Uttkarsh singh
    @loneWarrior581
    Hey everyone,
    Is it possible to reproduce a websites interface on the host website so that person can interact with it. Like making a tutorial where first the recorded thing goes and then we are supposed to perform the exact same thing
    Vladimir Milenko
    @VladimirMilenko
    Did anyone had same issue?
    rrweb-io/rrweb#525
    @Yuyz0112 i guess, that's somehow related to the cached snapshots not handling the css rule inserts, however, from the code it looks like it's working as expected
    Uttkarsh singh
    @loneWarrior581
    Hi @everyone,
    Is there a way we could attach click event to stop recording in rrweb.io as I need to send the events to the backend after my events array is created so a button to stop recording would be more convenient.
    Richard Kho
    @rkho

    :wave: Hey all, I wanted to ask a couple things:

    • I saw mentions about a "pro plan" to support same- and cross-origin iFrame recording; what is the "pro plan" and is it available today? In general, what is the current state of iFrame recording?

    • I saw the warning on the npm page about v1 data structure changes; any idea how the player might handle backwards compatibility?

    yz-yu
    @Yuyz0112
    Hi @rkho
    1. same-origin iframe support has been implemented and merged into the master branch. Supporting shadow-dom will be done these days(DOM mutation observer in shadow-dom is already merged), the cross-origin iframe is still pending. pro-plan is a personal consulting plan provided by me and you can send an email to me if you are interested.
    2. all the recorded events will have backward compatibility in v1.0.

    @/all
    Hi all, I'm very happy to share an experimental product build by rrweb's core team on top of rrweb:
    https://storyteller.webzard.io/?utm_source=rrweb&utm_medium=gitter

    storyteller is a no-code interactive tutorial builder, you can see demos(also made by the storyteller itself!) on the website. if you want to get early access, please leave your email and we are going to contact you ASAP

    Francesco Megna
    @effe-megna

    Hi folks, I'm struggle with record and replay a site. I noticed that rrweb invoke the emit function only twice. If I use the emitted events with the replay library, I just get a 0 second video that show me a static snapshot of the page.

    What I'm missing?

    this is how I record the page
    rrweb.record({
            emit(event, isCheckout) {
              events.push(event)
            },
          })
    Danel Ceresa
    @aserec

    Hey there,
    According to the github, the issue with angular: rrweb-io/rrweb#469 was fixed in the commit rrweb-io/rrweb@13f1a61. I've tried with angular 9, then upgraded to 10 and finally to 11. They all face the same result. Screen gets frozen. I've used the example code readme for the recording.

    This was done in Feb, anyone knows if it was truly fixed? shall I reopen the ticket?

    fabienc974
    @fabienc974
    Hi everyone, and Thanks to rrweb authors ! this is crazy amazing. (I'm french :) ) I'm using Rrweb on nuxtjs, and everything works almost as it should, except when the site to record payload is to huge. Indeed, when I use rrweb on simple page, everything is ok, and replayer works fine. When I use a vue js example admin page, the first emit fired will try to send about 1.2Mo, but the log says payload it too huge. Does any one have any idea how I can solve this issue ? Should I run rrweb on window.load ? or should I record less events (what I don't really want) ? I also wonder how url catching is working on an spa page ? I've tried looking at all emited events array, and I only see the first url. I may be wrong, or I missed something, but, How can I push url to rrweb on an SPA ? Thanks to you
    Capture d’écran 2021-05-06 à 09.28.27.png
    Maximilian von Gaisberg
    @vongaisberg
    Quick question: When loading events into the rrweb-player asynchronously, the progress bar only shows the remaining time from the original events. When new events are loaded, the remaining time does not increase. Is there a way to fix that?
    vincenzocasu
    @vincenzocasu
    @vongaisberg i have already reported this issue on github. Check this: https://github.com/rrweb-io/rrweb-player/issues/62#issuecomment-800390694
    Maximilian von Gaisberg
    @vongaisberg
    I figured out a workaround: If you know the final duration beforehand, just add a dummy event with the appropiate timestamp to the initial events
    vincenzocasu
    @vincenzocasu
    The duration in my case is not the same for each recording ... so your alternative solution unfortunately does not solve my problem ...
    Kevin
    @kevinjosephjohn
    I'm unable to install rrweb, the npm address is down . Is it just for me ?
    image.png
    Kevin
    @kevinjosephjohn
    nvm, Looks like the yarn.lock file for the repo I cloned had the wrong registry address
    droidprogrammmer
    @droidy12527
    @fabienc974 if you’re using a node server try increasing the json parsing limit on server side this solved errors for me because I was trying to figure out these huge request going back to server. And for the events in SPA the first batch of event is huge due to all the CSS and HTML is sent in the first request.
    fabienc974
    @fabienc974

    @fabienc974 if you’re using a node server try increasing the json parsing limit on server side this solved errors for me because I was trying to figure out these huge request going back to server. And for the events in SPA the first batch of event is huge due to all the CSS and HTML is sent in the first request.

    Hi, Droidprogrammer, I'll try it soon and I'll give a feedback asap.

    Ryan Chandler
    @ryangjchandler
    Anybody got some time to help?
    I'm running into an issue with the replayer - I've got a bunch of nodes that have the string "null" inside of them - presumably an issue with the textContent key in the event having the value null... anyone had a similar issue?
    Justin Halsall
    @Juice10
    I haven’t ever seen that unfortunately Ryan
    Raja Venkataraman
    @rajasaur
    Hi. Thanks for the amazing library, Ive tried both rrweb and rrweb-player but when adding a event using the addEvent method, it doenst seem to update the time at the bottom. It stays with the duration of the first event that was passed to Replayer or rrwebPlayer. Is there a way to update the time as the events are getting added (say, through a websocket) ?
    Just found rrweb-io/rrweb-player#62 and rrweb-io/rrweb#549.. Is this the way to go forward. ?
    Bernhard Hörmann
    @bernhardh
    image.png
    @ryangjchandler: Do you mean something like this:
    i am having the same issue - no solution.
    russell-bloxwich-ff
    @russell-bloxwich-ff
    Hey All, RRWeb looks awesome, and arguably the only decent solution for session replay. I was wondering how you are all logging/integrating this? I was considering logging to ELK and creating a Kibana visualization to show these, but its a lot of work to go to and I suspect there are existing solutions.
    Bernhard Hörmann
    @bernhardh
    Has anybody integreted it successfully with pages behind authentication?
    Arnav Chaurasia
    @arnavchaurasia:matrix.org
    [m]
    hello
    may i know when will be the next release of rrweb