I have successfully uploaded/configured
Youtube video for a particular product but the video is not showing on the front-end, even though I marked the video as the 'base,' 'small' and 'thumbnail'.
I removed the cache, deployed the static content but the video is still not visible in front end.
I am getting below error in my console:
TypeError: window[this.configSource] is undefined
Any help would be appreciated.
Best Answer
$product = $this->getProduct(); $images = json_decode($block->getGalleryImagesJson(),true); ?>
$image): ?> getName(); $vimeo = $image['videoUrl']; $vid = (int) substr(parse_url($vimeo, PHP_URL_PATH), 1);; ?> " frameborder="0" title="" webkitallowfullscreen mozallowfullscreen allowfullscreen style="width: 100%"> getName(); ?> " alt="">