diff --git a/components/item-full.js b/components/item-full.js index b07c38d0..ba167931 100644 --- a/components/item-full.js +++ b/components/item-full.js @@ -51,17 +51,17 @@ function BioItem ({ item, handleClick }) { } function ItemEmbed ({ url, imgproxyUrls }) { + const provider = parseEmbedUrl(url) + if (provider) { + return + } + if (imgproxyUrls) { const src = IMGPROXY_URL_REGEXP.test(url) ? decodeProxyUrl(url) : url const srcSet = imgproxyUrls?.[url] return } - const provider = parseEmbedUrl(url) - if (provider) { - return - } - return null }