Skip to content

Case study

rrweb-player-vue3

Vue 3 port of the rrweb session player, published and maintained.

Domain
Open source

01

Context

rrweb records the events of a web session so its sequence can be replayed later. This project ports its player into a Vue 3 component for use in an analysis or support interface.

02

Problem

The replay engine reconstructs the session, but the host application needs reactive controls: play, pause, speed selection and seeking to a specific instant. Playback state needs to follow Vue’s conventions so the surrounding interface can observe and control it.

03

What I did

Porting and development of the Vue 3 component and playback controller, distributed in a package authored by bpsmartdesign.

04

Key technical decisions

  1. Reuse the rrweb engine

    The component instantiates Replayer and passes it recorded events. The work focuses on Vue integration and player controls rather than rebuilding session reconstruction.

  2. Connect playback to Vue reactivity

    Props and events expose speed, dimensions, inactive-period skipping and playback state. The controller keeps the progress bar in step with the engine’s current time.

  3. Make sessions easier to explore

    The timeline displays custom events and supports seeking through the recording. The player also scales the recorded session to its display frame and offers fullscreen mode.

05

Result

The repository provides an exported Vue 3 player, a stylesheet and an integration example. It navigates existing rrweb events; collecting sessions and deciding what should be recorded remain responsibilities of the host application.

06

Stack

  • Vue 3
  • TypeScript