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 @@ -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
You can’t perform that action at this time.
0 commit comments