Today I needed to add a video to a product page. I know I can add via content constructor but thought I'd try to add as normal gallery asset under "Image and Videos" of Catalog > Product in Magento 2.4.2p1. The thumbnail shows up on frontend but I am unable to play video. I have configured YouTube API key. Video plays fine with normal behavior when I switch to luma theme, but does not play with theme-creativesuite or my custom child theme. Console error:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://devsiteurl.com') www-widgetapi.js:731
If anyone has encountered this issue I would love to hear from you.
Hi all -
Today I needed to add a video to a product page. I know I can add via content constructor but thought I'd try to add as normal gallery asset under "Image and Videos" of Catalog > Product in Magento 2.4.2p1. The thumbnail shows up on frontend but I am unable to play video. I have configured YouTube API key. Video plays fine with normal behavior when I switch to luma theme, but does not play with theme-creativesuite or my custom child theme. Console error:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://devsiteurl.com') www-widgetapi.js:731
If anyone has encountered this issue I would love to hear from you.
Thanks all -
David