File tree 1 file changed +5
-2
lines changed
packages/rrweb/src/replay/media
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,8 @@ export class MediaManager {
212
212
if ( ! serializedNode || ! ( 'attributes' in serializedNode ) ) return ;
213
213
214
214
// 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 ;
216
217
if ( isBlockedMediaElement ) return ;
217
218
218
219
const playerIsPaused = this . service . state . matches ( 'paused' ) ;
@@ -290,7 +291,9 @@ export class MediaManager {
290
291
this . syncTargetWithState ( target ) ;
291
292
}
292
293
293
- public isSupportedMediaElement ( node : Node | RRMediaElement ) : node is HTMLMediaElement | RRMediaElement {
294
+ public isSupportedMediaElement (
295
+ node : Node | RRMediaElement ,
296
+ ) : node is HTMLMediaElement | RRMediaElement {
294
297
return [ 'AUDIO' , 'VIDEO' ] . includes ( node . nodeName ) ;
295
298
}
296
299
You can’t perform that action at this time.
0 commit comments