File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/rrweb/src/replay/media Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments