Issue
I want to integrate Sentry Session Replay in an ES5 JavaScript setup and need to know whether that is supported.
Applies To
All SaaS Customers and Self-Hosted Users
JavaScript SDK (browser)
Session Replay
Resolution
Session Replay does not work in an ES5-only environment. Replay recording depends on ES6-only APIs (via rrweb under the hood), so you cannot use Session Replay while targeting ES5-only runtimes.
Session Replay also requires browsers newer than IE11. See Set Up Session Replay and Supported Browsers.
If your app build still emits ES5 for legacy browsers, that does not unblock Replay on those browsers. Use Session Replay only where the page runs a modern browser that can execute the Replay SDK bundle. Keep error monitoring on a supported path for older browsers if you still need it there.
