The Vimeo video is not working on the product page. It shows the thumbnail image, but when clicking, it shows the loading gif, but the video is not getting played. We had an issue when adding the video to the product on the admin panel, it showed video not found error. I fixed it by updating the app/code/Magento/ProductVideo/view/adminhtml/web/js/get-video-information.js file as given here https://github.com/magento/magento2/commit/f2231f8d953bb650c3462a824716fd8972c6bb6c. But now the video is not playing on frontend.
2
Answers
I was able to fix this by updating lib/web/fotorama/fotorama.js
I have changed the functions
createVideoFrame
,playVideo
&onStageTap
.What exactly is your error displaying on the frontend product page? Please confirm your Magento version and the steps to reproduce you follow for the issue.
You can check the below fixes for Magento 2.3.5
https://github.com/magento/magento2/commit/f2231f8d953bb650c3462a824716fd8972c6bb6c
And for Magento 2.4.1
https://github.com/magento/magento2/pull/31767/files
Applying the patch fixes the problem locally:
https://support.magento.com/hc/en-us/articles/360047139492
https://support.magento.com/hc/en-us/articles/4405321730445-MDVA-38308-Error-after-adding-Vimeo-videos-to-disabled-products
Use the command to apply the patch via composer:
To view the patch list.
You must clean the cache after applying patches to see changes in the Magento application:
That’s it