diff --git a/src/wp-includes/js/media-editor.js b/src/wp-includes/js/media-editor.js index 884b1bd92f..0bb9528051 100644 --- a/src/wp-includes/js/media-editor.js +++ b/src/wp-includes/js/media-editor.js @@ -189,7 +189,7 @@ shortcode = {}; if ( 'video' === type ) { - if ( attachment.image ) { + if ( attachment.image && -1 === attachment.image.src.indexOf( attachment.icon ) ) { shortcode.poster = attachment.image.src; }