diff --git a/src/lib/formatters.js b/src/lib/formatters.js index a2d7bfe4..1b13322b 100644 --- a/src/lib/formatters.js +++ b/src/lib/formatters.js @@ -236,8 +236,6 @@ function handleVideoData(el, data, attr) { if (data.ref || data.val) { attr.onClick = this.onVideoPreview; attr.loading = 'lazy'; - } else { - attr.src = null; } el = InlineVideo; } else { diff --git a/src/widgets/inline-video.jsx b/src/widgets/inline-video.jsx index a61dfa63..08919b28 100644 --- a/src/widgets/inline-video.jsx +++ b/src/widgets/inline-video.jsx @@ -27,11 +27,12 @@ export default class InlineVideo extends React.PureComponent { return (