Skip to content

Commit 4ea09b3

Browse files
juliechenggithub-actions[bot]
authored andcommitted
Apply formatting changes
1 parent 2609440 commit 4ea09b3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/rrweb/src/replay/media/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ export class MediaManager {
211211
if (!serializedNode || !('attributes' in serializedNode)) return;
212212

213213
// don't process if the media element is blocked
214-
const isBlockedMediaElement = serializedNode.attributes.rr_width || serializedNode.attributes.rr_height;
214+
const isBlockedMediaElement =
215+
serializedNode.attributes.rr_width || serializedNode.attributes.rr_height;
215216
if (isBlockedMediaElement) return;
216217

217218
const playerIsPaused = this.service.state.matches('paused');
@@ -289,7 +290,9 @@ export class MediaManager {
289290
this.syncTargetWithState(target);
290291
}
291292

292-
public isSupportedMediaElement(node: Node | RRMediaElement): node is HTMLMediaElement | RRMediaElement {
293+
public isSupportedMediaElement(
294+
node: Node | RRMediaElement,
295+
): node is HTMLMediaElement | RRMediaElement {
293296
return ['AUDIO', 'VIDEO'].includes(node.nodeName);
294297
}
295298

0 commit comments

Comments
 (0)