diff --git a/scripts/scripts.js b/scripts/scripts.js index bbe7cfc43..a2790504c 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -240,7 +240,7 @@ export function decorateLinks(main) { // decorate video links if (isVideo(url) && !link.closest('.block.hero-advanced') && !link.closest('.block.hero')) { const closestButtonContainer = link.closest('.button-container'); - if (link.closest('.block.cards') || (closestButtonContainer && closestButtonContainer.querySelector('strong'))) { + if (link.closest('.block.cards') || (closestButtonContainer && closestButtonContainer.querySelector('strong,em'))) { videoButton(link.closest('div'), link, url); } else { const up = link.parentElement;