diff --git a/patches/rrweb@2.0.0-alpha.13.patch b/patches/rrweb@2.0.0-alpha.13.patch index e684223d6fd1e..a845c08858af1 100644 --- a/patches/rrweb@2.0.0-alpha.13.patch +++ b/patches/rrweb@2.0.0-alpha.13.patch @@ -489,7 +489,7 @@ index 0d49411b1f6d31103bed898c0e81d1d74ab51234..0b2160ef08aa3ae5310f63c295abc0a5 } applyMutation(d, isSync) { diff --git a/es/rrweb/packages/rrweb/src/replay/media/index.js b/es/rrweb/packages/rrweb/src/replay/media/index.js -index 22fee601e786c1d8dfb5c01d2e359c8bcbac7c42..20c3e14adfde860563e8dd902041bd14c860f462 100644 +index 22fee601e786c1d8dfb5c01d2e359c8bcbac7c42..6d80d33030c601fa74f1b95573cb1590c3a0116b 100644 --- a/es/rrweb/packages/rrweb/src/replay/media/index.js +++ b/es/rrweb/packages/rrweb/src/replay/media/index.js @@ -21,7 +21,7 @@ class MediaManager { @@ -528,6 +528,15 @@ index 22fee601e786c1d8dfb5c01d2e359c8bcbac7c42..20c3e14adfde860563e8dd902041bd14 let playbackRate = 1; if (typeof mediaAttributes.rr_mediaPlaybackRate === 'number') { playbackRate = mediaAttributes.rr_mediaPlaybackRate; +@@ -180,6 +180,8 @@ class MediaManager { + this.syncTargetWithState(target); + } + mediaMutation({ target, timeOffset, mutation, }) { ++ if (!['AUDIO', 'VIDEO'].includes(target.nodeName)) ++ return; + this.mediaMap.set(target, this.getMediaStateFromMutation({ + target, + timeOffset, diff --git a/es/rrweb/packages/rrweb-snapshot/es/css.js b/es/rrweb/packages/rrweb-snapshot/es/css.js new file mode 100644 index 0000000000000000000000000000000000000000..0a6c5930c017852afd3d7f0170f6eca821619dd3 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 791f585dcbc58..da1ce1ed9930e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ patchedDependencies: hash: gydrxrztd4ruyhouu6tu7zh43e path: patches/heatmap.js@2.0.5.patch rrweb@2.0.0-alpha.13: - hash: uwe5jnfmh5leyodhsewupwmalq + hash: e2gmypqces37eklplr5o3rvywa path: patches/rrweb@2.0.0-alpha.13.patch dependencies: @@ -333,7 +333,7 @@ dependencies: version: 1.5.1 rrweb: specifier: 2.0.0-alpha.13 - version: 2.0.0-alpha.13(patch_hash=uwe5jnfmh5leyodhsewupwmalq) + version: 2.0.0-alpha.13(patch_hash=e2gmypqces37eklplr5o3rvywa) sass: specifier: ^1.26.2 version: 1.56.0 @@ -19277,7 +19277,7 @@ packages: resolution: {integrity: sha512-slbhNBCYjxLGCeH95a67ECCy5a22nloXp1F5wF7DCzUNw80FN7tF9Lef1sRGLNo32g3mNqTc2sWLATlKejMxYw==} dev: false - /rrweb@2.0.0-alpha.13(patch_hash=uwe5jnfmh5leyodhsewupwmalq): + /rrweb@2.0.0-alpha.13(patch_hash=e2gmypqces37eklplr5o3rvywa): resolution: {integrity: sha512-a8GXOCnzWHNaVZPa7hsrLZtNZ3CGjiL+YrkpLo0TfmxGLhjNZbWY2r7pE06p+FcjFNlgUVTmFrSJbK3kO7yxvw==} dependencies: '@rrweb/types': 2.0.0-alpha.13