feat: Ignore autoplay attribute on video/audio elements (#1152)

* feat: Ignore `autoplay` attribute on video/auto elements

This element leads to weird issues when replaying, so it's better to strip this out.

* add changeset

* fix check


fix typo

* Apply formatting changes

---------

Co-authored-by: mydea <mydea@users.noreply.github.com>
This commit is contained in:
Francesco Novy
2026-04-01 12:00:00 +08:00
committed by GitHub
parent e4f8b7c022
commit 42c9f53602
5 changed files with 26 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
---
'rrweb-snapshot': minor
---
feat: Ignore `autoplay` attribute on video/audio elements