Full overhawl of video & audio playback to make it more complete (#1432)

* Add support for capturing media attributes in rrweb-snapshot

* Add loop to mediaInteractionParam

* Add support for loop in RRMediaElement

* Add support for recording loop attribute on media elements

* Update video playback and fix bugs

* Update cross-origin iframe media attributes and player state
This commit is contained in:
Justin Halsall
2026-04-01 12:00:00 +08:00
committed by GitHub
parent c61c906e31
commit f6543be763
28 changed files with 1886 additions and 59 deletions

View File

@@ -0,0 +1,5 @@
---
'rrdom': patch
---
Support `loop` in `RRMediaElement`

View File

@@ -0,0 +1,5 @@
---
'rrweb-snapshot': minor
---
Video and Audio elements now also capture `playbackRate`, `muted`, `loop`, `volume`.

View File

@@ -0,0 +1,5 @@
---
'rrweb': minor
---
Full overhawl of `video` and `audio` element playback. More robust and fixes lots of bugs related to pausing/playing/skipping/muting/playbackRate etc.

View File

@@ -0,0 +1,5 @@
---
'@rrweb/types': patch
---
Add `loop` to `mediaInteractionParam`

View File

@@ -0,0 +1,5 @@
---
'rrweb': patch
---
Record `loop` on `<audio>` & `<video>` elements.