Skip to content

Commit 01d84ce

Browse files
juliechenggithub-actions[bot]
authored andcommitted
Apply formatting changes
1 parent a9b8008 commit 01d84ce

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

+5-2
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ export class MediaManager {
212212
if (!serializedNode || !('attributes' in serializedNode)) return;
213213

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

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

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

0 commit comments

Comments
 (0)