Open
Description
Preflight Checklist
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
What package is this bug report for?
rrweb-player
Version
2.0.0-alpha.18
Expected Behavior
- I record custom events via
record.addCustomEvent()
- I open a player, click on the middle of the timeline
- All custom events before this point are fired and I can handle them via
.on('custom-event')
Actual Behavior
- I record custom events via
record.addCustomEvent()
- I open a player, click on the middle of the timeline
- No custom events are fired at all
Steps to Reproduce
- Create a recording with any custom events
- Launch a player, subscribe to
custom-events
. - Click on the middle of the timeline to skip to certain time halfway through the recording
Testcase Gist URL
No response
Additional Information
I am using custom-events to record things like browser color-scheme changes. During regular replay these events work just fine. But when I jump to a specific time, no events are fired which means that color scheme becomes out of sync.