diff --git a/packages/block-library/src/video/transforms.js b/packages/block-library/src/video/transforms.js index b15ae24a530d9..4325cd1e7e7e9 100644 --- a/packages/block-library/src/video/transforms.js +++ b/packages/block-library/src/video/transforms.js @@ -92,9 +92,9 @@ const transforms = { poster: videoElement.getAttribute( 'poster' ) || undefined, src: videoElement.getAttribute( 'src' ) || undefined, }; - if ( isBlobURL( attributes.url ) ) { - attributes.blob = attributes.url; - delete attributes.url; + if ( isBlobURL( attributes.src ) ) { + attributes.blob = attributes.src; + delete attributes.src; } return createBlock( 'core/video', attributes ); },